{{- define "main" }} {{- $scratch := newScratch }} {{- if isset .Params "image" }} {{- $scratch.Set "image" .Params.image }} {{- else }} {{ $scratch.Set "image" .Site.Params.fallBackOgImage }} {{- end }} {{- $image := $scratch.Get "image" }} {{- $bg := (path.Join "images" $image | absLangURL) }}

{{ .Title }}

{{- partial "post-meta" . }} {{ partial "share" . }} {{ with .Params.featureImage }} {{ end }} {{ if .Params.toc }}

Overview

{{ .TableOfContents }} {{ end }} {{- .Content }}
{{- partial "sidebar" . }} {{ partial "comments.html" . }}
{{- end }}