From 2e98d3d48c321deb101cd0b33c67d22adb6efee7a176c84e9f0d723bc7b08cdf Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Make copyright notice mandatory Requiring a copyright notice forces the user to make clear to readers what their rights are with the capsule/site content. This also makes templates simpler. --- layouts/_default/baseof.gmi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'layouts/_default/baseof.gmi') 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 -- cgit v1.2.3