{{ define "header" }} {{ with .Params.relcanonical }} {{ end }} {{ end }} {{ define "navbar" }} {{ partial "navigators/navbar.html" . }} {{ end }} {{ define "sidebar" }} {{ i18n "posts" }} {{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }} {{ end }} {{ define "content" }} {{ if site.Params.features.blog.showAuthor | default true }} {{ partial "helpers/get-author-name.html" . }} {{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }} {{ else }} {{ end }} {{ .Page.Title }} {{ if not (site.Params.features.blog.showAuthor | default true) }} {{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }} {{ end }} {{ if site.Params.features.tags.enable }} {{partial "misc/tags.html" .Params.tags }} {{ end }} {{ .Page.Content }} {{ partial "navigators/next-prev-navigator.html" . }} {{ if .Site.Config.Services.Disqus.Shortname }} {{ partial "comments/disqus.html" (dict (slice "disqus" "shortName") .Site.Config.Services.Disqus.Shortname) }} {{ end }} {{ end }} {{ define "toc" }} {{ if and site.Params.features.toc.enable ( .Params.enableTOC | default true ) }} {{ i18n "toc_heading" }} {{ .TableOfContents }} {{ end }} {{ end }}
{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}