mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-24 02:41:46 +01:00
45e7e07a86
Post layout become exclusive for `post` section (with toolbar) Page layout become the default layout (without toolbar)
12 lines
No EOL
364 B
HTML
12 lines
No EOL
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 }} |