{{- $err_common_msg := "\n Fix this issue *before* you start debugging the errors that follow.\n It is possible that those errors will go away once you fix this issue.\n" -}} {{- if (and .Site.Params.source.md_dir (not .Site.Params.source.url)) -}} {{- errorf "You set .Site.Params.source.md_dir, but forgot to set .Site.Params.source.url!%s" $err_common_msg -}} {{- end -}} {{- if (and .Site.Params.source.org_dir (not .Site.Params.source.url)) -}} {{- errorf "You set .Site.Params.source.org_dir, but forgot to set .Site.Params.source.url!%s" $err_common_msg -}} {{- end -}} {{ if (eq .Kind "home") }} {{ .Site.Title }} {{ else if (eq .Kind "taxonomy") }} {{ printf "%s ‘%s’ ❚ %s" (.Data.Singular | title) .Data.Term .Site.Title }} {{ else }} {{ printf "%s ❚ %s" .Title .Site.Title }} {{ end }} {{ with .Site.Params.favicon }} {{- . | safeHTML -}} {{ end }} {{ partial "opengraph.html" . }} {{ partial "twitter_cards.html" . }} {{ range .Site.Params.custom_css }} {{ end }} {{ block "head" . }}{{ end }} {{ block "top" . }}
{{ printf `.Kind (%s):` .Kind | safeHTML }} {{ printf `.Type (%s) /` .Type | safeHTML }} {{ printf `.Layout (%s)` .Layout | safeHTML }}
{{ $bundle_type := "n/a" }} {{ with .File }} {{ if (eq .Path "") }} {{ $bundle_type = `n/a (regular "list" page)` }} {{ else }} {{ if (eq .BaseFileName "_index") }} {{ $bundle_type = "branch" }} {{ else if (eq .BaseFileName "index") }} {{ $bundle_type = "leaf" }} {{ else }} {{ $bundle_type = "n/a (regular page)" }} {{ end }} {{ end }} {{ end }} {{ printf `Bundle: %s` $bundle_type | safeHTML }}
{{ with .Site.Taxonomies }}
[ {{ $is_first_key := true }} {{ range $key,$val := . }} {{ with $.Site.GetPage "taxonomyTerm" $key }} {{ printf `%s %s` (cond $is_first_key "" "|") .Permalink .Type | safeHTML }} {{ $is_first_key = false }} {{ end }} {{ end }} {{ with $.Site.GetPage "page" "search" }} {{ printf `%s %s` "|" .Permalink (.Title | lower) | safeHTML }} {{ end }} ]
{{ end }}
{{ .Site.Title }}
{{ with .Site.Params.intro }}

{{- . | safeHTML -}}

{{ end }} {{ with .Site.Params.source }}

It is updated automatically after each commit to the {{ .url | replaceRE "^.*/" "" }} repo. It was last updated on {{ now.Format "Jan 02, 2006 15:04 MST" }}.

{{ end }}
{{ with .GitInfo }} {{ $git := . }} {{ with $.Site.Params.source }} This page was created/modified in commit {{- $git.AbbreviatedHash -}} "{{ $git.Subject }}" on {{ dateFormat "2006-01-02" $git.AuthorDate }}. {{ end }} {{ end }} {{ with .File }} {{ with .Path }} {{ $path := . }} {{ with site.Params.source }} {{ if .md_dir }}
Markdown source of this page
{{ end }} {{ end }} {{ end }} {{ end }} {{ end }} {{ block "main" . }}{{ end }}
This site is generated using the {{ with .Site.Params.source.org_dir }} ox-hugo package for Emacs/Org-mode + {{ end }} hugo-bare-min-theme + Hugo {{ hugo.Version }} {{ with hugo.CommitHash }} (commit {{ . | replaceRE "^[0-9a-f]{7,}" `${0}` | replaceRE ":chroma-([0-9a-f]{7,})" `, using Chroma commit ${1}` | safeHTML -}} ) {{ end }}. {{ with .Site.Params.footer }} {{- . | safeHTML -}} {{ end }} {{ block "footer" . }}{{ end }}