feat(footer): add ability to auto update the copyright year

To use, add `{year}` to `Copyright` option in `config.toml`. Displays
current year.

Close #976
This commit is contained in:
George Cushen committed 2019-03-24 18:57:04 +00:00
1 parent c27134a5c7
commit 5358dd00ad
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
{{ end }}
<p class="powered-by">
{{ with .Site.Copyright }}{{ . | markdownify}} &middot; {{ end }}
{{ with .Site.Copyright }}{{ replace . "{year}" now.Year | markdownify}} &middot; {{ end }}
Powered by the
<a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for