Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/maxlefou/hugo.386.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxlefou <buttbadger@gmail.com>2023-04-14 15:50:03 +0300
committermaxlefou <buttbadger@gmail.com>2023-04-14 15:50:03 +0300
commitaea90cf8a837623d9e6aead7edab0bccc8a8409c (patch)
treec98c62f40e3c4ec5c6adf56eb3b08211c4314399
parentd3fa959037167b46d5dd4e1fbf2b997cdcd20346 (diff)
prettified copyright. wtf is going on?
-rw-r--r--layouts/partials/copyright.html21
1 files changed, 17 insertions, 4 deletions
diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html
index 3feee72..54991d9 100644
--- a/layouts/partials/copyright.html
+++ b/layouts/partials/copyright.html
@@ -1,14 +1,27 @@
{{ with .Site.Params.Copyright.Prefix }}
{{ . | markdownify }} |
{{end}}
-&copy;
-{{ with .Site.Params.copyright.url }}<a href="{{ . }}" target="_blank">{{ end }}
+
+&copy;&nbsp;
+
+{{ with .Site.Params.copyright.url }}
+ <a href="{{ . }}" target="_blank">
+{{ end }}
+
{{ .Site.Params.copyright.name }}
-{{ with .Site.Params.copyright.url }}</a>{{ end }}
-<span id="thisyear">{{ now.Year }}</span>
+
+{{ with .Site.Params.copyright.url }}
+ </a>
+{{ end }}
+
+<span id="thisyear">
+ {{ now.Year }}
+</span>
+
{{ with .Site.Params.Copyright.Suffix }}
| {{ . | markdownify }}
{{end}}
+
{{ if .Site.Params.showhugo }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
{{ end }}