2018-01-11 09:16:05 +04:00
|
|
|
{{ define "main" }}
|
2018-01-13 03:38:00 +04:00
|
|
|
{{ range $index, $page := first 10 (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
|
|
|
|
<article>
|
2018-01-13 04:41:37 +04:00
|
|
|
<span class="is-size-3">
|
2018-01-13 03:38:00 +04:00
|
|
|
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
|
|
|
{{ if .Params.tags }}
|
|
|
|
<div class="tags is-pulled-right">
|
|
|
|
{{ range $i, $t := .Params.tags }}
|
|
|
|
<span class="tag">
|
|
|
|
<a href="/tags/{{$t | urlize }}/">#{{ $t }}</a>
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
2018-01-11 09:16:05 +04:00
|
|
|
</div>
|
2018-01-13 03:38:00 +04:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
{{ partial "aside" . }}
|
|
|
|
<br>
|
|
|
|
<p>{{ .Summary }}</p>
|
|
|
|
{{ if .Truncated }}
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Site.Params.i18n_read_more }}</a>
|
|
|
|
{{ end }}
|
|
|
|
<hr>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
2018-01-11 09:16:05 +04:00
|
|
|
{{ end }}
|