diff options
-rw-r--r-- | layouts/_default/baseof.gmi | 6 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/layouts/_default/baseof.gmi b/layouts/_default/baseof.gmi index 6d896a8..09cdbac 100644 --- a/layouts/_default/baseof.gmi +++ b/layouts/_default/baseof.gmi @@ -1,9 +1,7 @@ {{ partial "header.gmi" . }} -{{ block "main" . }}{{ end -}} -{{ if $.Site.Copyright }} +{{ block "main" . }}{{ end }} -{{ partial "footer.gmi" . -}} -{{ end }}
\ No newline at end of file +{{ partial "footer.gmi" . }}
\ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1e32ff9..a36bd49 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,9 +3,7 @@ {{ partial "head.html" . }} <body class="body"> {{ partial "header.html" . }} - {{ block "main" . }}{{ end -}} - {{ if $.Site.Copyright }} - {{ partial "footer.html" . -}} - {{ end }} + {{ block "main" . }}{{ end }} + {{ partial "footer.html" . }} </body> </html>
\ No newline at end of file |