aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.gmi4
-rw-r--r--layouts/_default/baseof.html2
2 files changed, 5 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
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8129bb3..7dd28ff 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,6 +4,8 @@
<body class="body">
{{ partial "header.html" . }}
{{ block "main" . }}{{ end }}
+ {{- if $.Site.Copyright }}
{{ partial "footer.html" . }}
+ {{- end }}
</body>
</html> \ No newline at end of file