mirror of https://github.com/jpanther/congo.git
adapt year in footer
I have seen from another site that this script adapts the year automatically without the need to serve the site each year.pull/76/head
parent
4ca9f334cb
commit
4a3526a22d
|
@ -24,7 +24,7 @@
|
|||
{{ . | emojify | markdownify }}
|
||||
{{- else }}
|
||||
©
|
||||
{{ now.Format "2006" }}
|
||||
<script>document.write(new Date().getFullYear())</script>
|
||||
{{ .Site.Author.name | markdownify | emojify }}
|
||||
{{- end }}
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue