45e7e07a86
Post layout become exclusive for `post` section (with toolbar) Page layout become the default layout (without toolbar)
12 lines
364 B
HTML
12 lines
364 B
HTML
{{ define "body-class" }}article-page keep-sidebar{{ end }}
|
|
{{ define "main" }}
|
|
{{ partial "article/article.html" . }}
|
|
|
|
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
|
{{ partial "comments/include" . }}
|
|
{{ end }}
|
|
|
|
{{ partialCached "footer/footer" . }}
|
|
|
|
{{ partial "article/components/photoswipe" . }}
|
|
{{ end }} |