mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
Use en dash for date range.
This commit is contained in:
parent
c9af265921
commit
7fba670d6e
@ -3,9 +3,11 @@
|
||||
<section class="copyright">
|
||||
©
|
||||
{{ if and (.Site.Params.footer.since) (ne .Site.Params.footer.since (int (now.Format "2006"))) }}
|
||||
{{ .Site.Params.footer.since }} -
|
||||
{{ .Site.Params.footer.since }}–{{ now.Format "06" }}
|
||||
{{ else }}
|
||||
{{ now.Format "2006" }}
|
||||
{{ end }}
|
||||
{{ now.Format "2006" }} {{ .Site.Title }}
|
||||
{{ .Site.Title }}
|
||||
</section>
|
||||
|
||||
<section class="powerby">
|
||||
|
Loading…
Reference in New Issue
Block a user