{{ .Title }}
{{- /* Subtitle */ -}} {{- with $params.subtitle -}}{{ . }}
{{- end -}} {{- /* Meta */ -}} {{- /* Featured image */ -}} {{- $image := $params.featuredimage -}} {{- $width := "auto" -}} {{- $height := "auto" -}} {{- with .Resources.GetMatch (printf "**%s" $params.featuredimage) -}} {{- $image = .RelPermalink -}} {{- $width = .Width -}} {{- $height = .Height -}} {{- end -}} {{- with .Resources.GetMatch "featured-image" -}} {{- $image = .RelPermalink -}} {{- $width = .Width -}} {{- $height = .Height -}} {{- end -}} {{- with $image -}}
{{- dict "Src" . "Title" $.Description "Resources" $.Resources "Width" $width "Height" $height | partial "plugin/image.html" -}}
{{- end -}}
{{- /* Series list */ -}}
{{- if $params.series | and $params.seriesNavigation -}}
{{ range $key, $value := .Site.Taxonomies.series }}
{{ if $key | in $params.series }}
{{ $term := $.Site.GetPage "series" $key }}
{{ T "series" }} - {{ $term.Title }}
{{ T "contents" }}
{{- dict "Content" .TableOfContents "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
{{- /* Outdated Article Reminder */ -}}
{{- partial "single/outdatedArticleReminder.html" . -}}
{{- dict "Content" .Content "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
{{/* Sponsor */}}
{{- partial "single/sponsor.html" . -}}
{{- /* Footer */ -}}
{{- partial "single/footer.html" . -}}
{{- /* Comment */ -}}
{{- partial "comment.html" . -}}