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:
Diffstat (limited to 'layouts/partials/copyright.html')
-rw-r--r--layouts/partials/copyright.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html
index 7a83dfe..0de293f 100644
--- a/layouts/partials/copyright.html
+++ b/layouts/partials/copyright.html
@@ -1,4 +1,3 @@
-
{{ with .Site.Params.Copyright.Prefix }}
{{ . | markdownify }} |
{{end}}
@@ -6,10 +5,10 @@
{{ with .Site.Params.copyright.url }}<a href="{{ . }}" target="_blank">{{ end }}
{{ .Site.Params.copyright.name }}
{{ with .Site.Params.copyright.url }}</a>{{ end }}
-<span id="thisyear">2020</span>
+<span id="thisyear">{{ now.Year }}</span>
{{ with .Site.Params.Copyright.Suffix }}
| {{ . | markdownify }}
{{end}}
{{ if isset .Site.Params "showhugo" }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
-{{ end }} \ No newline at end of file
+{{ end }}