{{ define "title" }}{{ .Title | plainify }} | {{ .Site.Title }}{{ end }}
{{ define "head-description" }}{{ .Summary | plainify }}{{ end }}
{{ define "main-class" }}--single{{ end }}
{{ define "footer-scripts" }}
{{ with .Params.locations }}
{{ $script := resources.Get "js/render-meta-map.js" | resources.ExecuteAsTemplate "render-meta-map.js" . }}
{{ end }}
{{ with .Params.scripts }}
{{ if in . "mathjax" }}
{{ end }}
{{ end }}
{{ end }}
{{ define "main-header" }}
{{ end }}
{{ define "main-body" }}
{{- if ( or .Params.internal_links .Params.external_links ) -}}
{{- with .Params.internal_links -}}
Internal Links
{{- end -}}
{{- with .Params.external_links -}}
External Links
{{- end -}}
{{- end -}}
{{ .Content }}
{{ end }}
{{ define "main-footer" }}
{{ partial "post-meta.html" . }}
{{ end }}