Add copyright year ranges
This commit is contained in:
parent
b21b208d85
commit
31d581de0c
4 changed files with 4 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
{{ if ne (dateFormat "2006" now | int) .Site.Params.CopyrightStart }}{{ .Site.Params.CopyrightStart }}–{{ end }}{{ dateFormat "2006" now }}
|
|
@ -1,2 +1,2 @@
|
|||
Copyright © {{ dateFormat "2006" now }} <b>{{ .Site.Title }}</b>. All rights reserved.<br>
|
||||
Copyright © {{ partial "copyright-years.html" . }} <b>{{ .Site.Title }}</b>. All rights reserved.<br>
|
||||
Site last regenerated with <a href="https://gohugo.io/" target="_blank">Hugo</a> at {{ partial "time.html" (dict "Date" now) }}.
|
Loading…
Add table
Add a link
Reference in a new issue