summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-05-09 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-05-09 00:00:00 +0000
commit7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c (patch)
tree7fff0909c33b06d4e52068b845bd6aeedcb3647ce0d7c97c6f351457e51afde7 /layouts/_default/baseof.gmi
parentb077fceef78e9bda5f1402c22f8e7d4ffb47d0e3ac242ea8297981c45e30155b (diff)
downloadhugo-theme-journal-7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c.tar.gz
hugo-theme-journal-7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c.zip
Make non-critical page elements optionalv0.5.2
Diffstat (limited to 'layouts/_default/baseof.gmi')
-rw-r--r--layouts/_default/baseof.gmi4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/baseof.gmi b/layouts/_default/baseof.gmi
index d866a14..a583bfe 100644
--- a/layouts/_default/baseof.gmi
+++ b/layouts/_default/baseof.gmi
@@ -2,4 +2,6 @@
{{ block "main" . }}{{ end }}
-{{ partial "footer.gmi" . -}} \ No newline at end of file
+{{- if $.Site.Copyright }}
+{{ partial "footer.gmi" . }}
+{{- end -}} \ No newline at end of file