diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-25 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-25 00:00:00 +0000 |
commit | 2e98d3d48c321deb101cd0b33c67d22adb6efee7a176c84e9f0d723bc7b08cdf (patch) | |
tree | de8cc22be7cf9cbe35366fd6885efd52cc69e1b84732101d217429967b0c79c2 /layouts/_default/baseof.gmi | |
parent | a6db62b926647cc882dba08d0a9fb8bf251f97d616cba2fdbd0ca1221207524e (diff) | |
download | hugo-theme-journal-2e98d3d48c321deb101cd0b33c67d22adb6efee7a176c84e9f0d723bc7b08cdf.tar.gz hugo-theme-journal-2e98d3d48c321deb101cd0b33c67d22adb6efee7a176c84e9f0d723bc7b08cdf.zip |
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.
Diffstat (limited to 'layouts/_default/baseof.gmi')
-rw-r--r-- | layouts/_default/baseof.gmi | 6 |
1 files changed, 2 insertions, 4 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 |