{{ define "title" }}{{ .Title | plainify }} | {{ .Site.Title }}{{ end }}
{{ define "head-description" }}{{ .Summary | plainify }}{{ end }}
{{ define "main-class" }}--single layouts-default-single{{ end }}
{{ define "header-scripts" }}
{{ with .Params.locations }}
{{ end }}
{{ end }}
{{ define "header-styles" }}
{{ with .Params.styles }}
{{ end }}
{{ with .Params.locations }}
{{ end }}
{{ end }}
{{ define "footer-scripts" }}
{{ with .Params.locations }}
{{ end }}
{{ with .Params.scripts }}
{{ if in . "charts" }}
{{ $chartsConfigJS := $.Page.Resources.GetMatch "charts-init" | fingerprint }}
{{ end }}
{{ end }}
{{ end }}
{{ define "main-header" }}
{{ partial "single/main-header.html" ( dict "pc" . "sc" $ ) }}
{{ 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 "single/post-meta.html" ( dict "pc" . "sc" $ ) }}
{{ end }}