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 | |
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')
-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 |