{{ define "main" }}

{{ .Title }}

{{ partial "main/blog-meta.html" . }}
{{ if site.Params.doks.imageSingle -}} {{- $images := .Resources.ByType "image" -}} {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- if $featured -}}
{{ partial "picture" (dict "page" . "src" $featured "alt" .Title "class" "img-post-single rounded-0" )}}
{{ end -}} {{ end -}}
{{ with .Params.summary -}}

{{ . }}

{{ end -}} {{ .Content }} {{ if .Params.tags -}}
{{ range $index, $tag := .Params.tags -}} {{ . }} {{ end -}}
{{ end -}}
{{ end }} {{ define "sidebar-footer" }} {{ if site.Params.doks.relatedPosts -}} {{ $related := .Site.RegularPages.Related . | first 3 -}} {{ with $related -}}
{{ end -}} {{ end -}} {{ end }}