2017-09-07 22:41:16 +03:00
|
|
|
{{ define "main" -}}
|
2020-05-25 23:34:28 +03:00
|
|
|
<div class="posts">
|
2020-06-15 20:52:15 +03:00
|
|
|
{{- $pages := where .Site.RegularPages "Type" "in" .Site.Params.MainSections -}}
|
2020-05-25 23:34:28 +03:00
|
|
|
{{- $paginator := .Paginate $pages -}}
|
2020-02-10 20:38:11 +02:00
|
|
|
|
2020-05-25 23:34:28 +03:00
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
<article class="post">
|
|
|
|
<h1 class="post-title">
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
|
|
</h1>
|
2020-02-10 20:38:11 +02:00
|
|
|
|
2020-05-25 23:34:28 +03:00
|
|
|
<div class="post-date">
|
2022-04-06 14:31:04 +03:00
|
|
|
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "2. 1. 2006" }}</time> </div>
|
2020-05-25 23:34:28 +03:00
|
|
|
|
2020-06-15 20:52:15 +03:00
|
|
|
<div>
|
2020-05-25 23:34:28 +03:00
|
|
|
{{ .Summary }}
|
2020-06-15 20:52:15 +03:00
|
|
|
</div>
|
2020-05-25 23:34:28 +03:00
|
|
|
|
|
|
|
<div class="read-more-link">
|
2022-04-06 14:31:04 +03:00
|
|
|
<a href="{{ .Permalink }}">...</a>
|
2020-05-25 23:34:28 +03:00
|
|
|
</div>
|
|
|
|
</article>
|
2020-02-10 20:38:11 +02:00
|
|
|
{{- end }}
|
2020-05-25 23:34:28 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
2018-08-29 20:22:23 +03:00
|
|
|
{{- end }}
|