refactor: change default article layout

Post layout become exclusive for `post` section (with toolbar)
Page layout become the default layout (without toolbar)
This commit is contained in:
Jimmy Cai
2020-09-13 10:59:52 +02:00
parent 294f445e0a
commit 45e7e07a86
3 changed files with 24 additions and 24 deletions
-12
View File
@@ -1,12 +0,0 @@
{{ 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 }}