{{ define "main" }}

{{ .Title }}

{{ partial "page/author.html" . }} {{ partial "main/dates.html" . }} {{ partial "page/translation_list.html" . }} {{ partial "page/toc.html" . }} {{ .Content }} {{ partial "page/terms.html" (dict "taxonomy" "tags" "page" .) }} {{ partial "page/terms.html" (dict "taxonomy" "categories" "page" .) }} {{ $blogPosts := (where site.RegularPages "Section" "blog").ByDate.Reverse }} {{ $currentPermalink := .RelPermalink }} {{ $currentIndex := 0 }} {{ range $index, $post := $blogPosts }}{{ if eq $post.RelPermalink $currentPermalink }}{{ $currentIndex = $index }}{{ end }}{{ end }} {{ if gt (len $blogPosts) 1 }} {{ end }} {{ partial "page/page-end.html" . }}

Comments

{{ end }}