diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-09 23:31:15 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-09 23:31:15 +0800 |
| commit | 8c5d10925e591c909e98c9a413e10b2e47c15b6d (patch) | |
| tree | 1c4a410235affc8c89923fcfd121d121465b883c /layouts/_default/baseof.html | |
| parent | c5d31c778b572c3952c35e918765901cb223c045 (diff) | |
allow customize post page width
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3d13f07..edd7809 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,7 +14,7 @@ {{- end -}} " id="top"> {{- partialCached "header.html" . .Page -}} - <main class="main"> + <main class="main {{- if (eq .Kind `page`) -}}{{- print " post" -}}{{- end -}}"> {{- block "main" . }}{{ end }} </main> {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} |
