Verified Commit 27fe7a5c authored by Maxim Lebedev's avatar Maxim Lebedev 🔀

💄 Split header and content in article

parent acc2ec5e
Pipeline #133543594 passed with stage
in 22 seconds
......@@ -8,7 +8,7 @@
{{- with .Site.Params.description }}<p>{{ . }}</p>{{ end -}}
</div>
</div>
<main class="stack center center_padding_gutters" id="main">
<main class="stack center center_padding_gutters stack" id="main">
<article class="stack">
<div class="center center_text">
{{ with .Content }}{{ . | emojify }}{{ end }}
......
{{- define "main" }}
<main class="center center_padding_gutters" id="main">
<article class="stack">
<main class="center center_padding_gutters stack" id="main">
<header>
<h1>{{ .Title }}</h1>
</header>
<article class="stack">
{{ with .Content }}{{ . }}{{ end }}
<ul>
{{ range .Pages }}
......
{{- define "main" }}
<main class="center center_padding_gutters" id="main">
<article class="stack">
<header>
<h1>{{- .Title -}}</h1>
<span class="cluster">
<span>
<span>{{ partial "components/sources-list" . }}</span>
<span>{{ partial "components/license" . }}</span>
</span>
<main class="center center_padding_gutters stack" id="main">
<header>
<h1>{{- .Title -}}</h1>
<small class="cluster">
<span>
<span>{{ partial "components/sources-list" . }}</span>
<span>{{ partial "components/license" . }}</span>
</span>
</header>
</small>
</header>
<article class="stack">
{{- with .Content }}{{ . }}{{ end -}}
</article>
</main>
......
{{- define "main" }}
<main class="center center_padding_gutters" id="main">
<article class="stack">
<main class="center center_padding_gutters stack" id="main">
<header>
<h1>
{{- with .Params.website }}<a href="{{ . }}" rel="nowollow" target="_blank">{{ end -}}
{{ .Title }}
{{- if .Params.website}}</a>{{ end -}}
</h1>
</header>
<article class="stack">
{{ with .Content }}{{ . }}{{ end }}
<ul class="stack">
{{ range .Data.Pages }}
......
{{- define "main" }}
<main class="center center_padding_gutters" id="main">
<article class="stack">
<main class="center center_padding_gutters stack" id="main">
<header>
<h1>{{ .Title }}</h1>
</header>
<article class="stack">
{{ with .Content }}{{ . }}{{ end }}
<ul class="stack">
{{ range .Data.Pages }}
......
{{- define "main" }}
<main class="center center_padding_gutters" id="main">
<article class="stack">
<main class="center center_padding_gutters stack" id="main">
<header>
<h1>{{ .Title }}</h1>
</header>
<article class="stack">
{{ with .Content }}{{ . }}{{ end }}
<div class="stack">
{{ range .Page.Resources.Match (print "*." .Language ".md") }}
......
......@@ -2,8 +2,10 @@
<main class="center center_padding_gutters" id="main">
{{ $letters := split "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЭЮЯABCDEFGHIJKLMNOPQRSTUVWXYZ" "" }}
{{ $numbers := split "0123456789" ""}}
<article class="stack">
<header>
<h1>{{ .Title }}</h1>
</header>
<article class="stack">
{{ with .Content }}{{ . }}{{ end }}
<div class="cluster">
<ul class="list-style_none">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment