2020-04-22 13:14:28 +03:00
|
|
|
|
{{ define "main" }}
|
|
|
|
|
{{ if isset .Data "Term" }}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
<h1>Все посты - "{{ .Data.Term }}"</h1>
|
2020-04-22 13:14:28 +03:00
|
|
|
|
{{ else }}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
<h1 class="page-title">Все посты</h1>
|
2020-04-22 13:14:28 +03:00
|
|
|
|
{{ end }}
|
2020-04-08 21:44:29 +03:00
|
|
|
|
|
2020-04-22 13:14:28 +03:00
|
|
|
|
<ul class="posts">
|
|
|
|
|
{{- range .Data.Pages -}}
|
|
|
|
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
|
|
|
|
<li class="post">
|
2023-07-30 22:40:36 +03:00
|
|
|
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.themes.themu.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</span>
|
2020-04-22 13:14:28 +03:00
|
|
|
|
</li>
|
|
|
|
|
{{- end -}}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
</ul>
|
|
|
|
|
{{ end }}
|