2017-06-16 07:06:16 +03:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
|
|
|
{{if not .IsHome }}
|
2018-08-30 17:24:07 +03:00
|
|
|
<h1>{{ .Title | markdownify }}</h1>
|
2017-06-16 07:06:16 +03:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ .Content }}
|
|
|
|
|
|
|
|
<ul>
|
2019-08-16 21:08:49 +03:00
|
|
|
{{ $pages := .Pages }}
|
|
|
|
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
|
2017-10-27 05:59:26 +03:00
|
|
|
{{ $paginator := .Paginate (where $pages "Section" "!=" "") }}
|
|
|
|
{{ range $paginator.Pages }}
|
2017-06-16 07:06:16 +03:00
|
|
|
<li>
|
|
|
|
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
2019-04-18 21:44:29 +03:00
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
2017-06-16 07:06:16 +03:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2017-10-27 05:59:26 +03:00
|
|
|
{{ template "_internal/pagination.html" . }}
|
2017-06-16 07:06:16 +03:00
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|