{{/* This file was copied from the Ananke definition, initially in order to add a "page source" link (which depends upon information available at build-time by Hugo, and so which can't be added at read-time with Javascript like with the class-changes done in `custom.js`). */}} {{ define "header" }} {{/* We can override any block in the baseof file by defining it in the template */}} {{ partial "page-header.html" . }} {{ end }} {{ define "main" }} {{ $section := .Site.GetPage "section" .Section }}
{{ partial "social-share.html" . }}

{{- .Title -}}

{{ with .Params.author | default .Site.Params.author }}

By {{ if reflect.IsSlice . }} {{ delimit . ", " | markdownify }} {{else}} {{ . | markdownify }} {{ end }}

{{ end }} {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} {{ if not .Date.IsZero }} {{end}} {{/* Show "reading time" and "word count" but only if one of the following are true: 1) A global config `params` value is set `show_reading_time = true` 2) A section front matter value is set `show_reading_time = true` 3) A page front matter value is set `show_reading_time = true` */}} {{ if (or (eq (.Param "show_reading_time") true) (eq $section.Params.show_reading_time true) )}} - {{ i18n "readingTime" .ReadingTime }} - {{ i18n "wordCount" .WordCount }} {{ end }} {{ with .Site.Params.page_source_base}} - Page Source {{ end }}
{{- .Content -}} {{- partial "tags.html" . -}}
{{ if .Site.DisqusShortname }} {{ template "_internal/disqus.html" . }} {{ end }} {{ if .Site.Params.commentoEnable }} {{- partial "commento.html" . -}} {{ end }}
{{ end }}