mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 20:14:15 +00:00
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:
1 parent
c27134a5c7
commit
5358dd00ad
1 file changed
+1
-1
@@ -6,7 +6,7 @@
|
||||
{{ end }}
|
||||
|
||||
<p class="powered-by">
|
||||
{{ with .Site.Copyright }}{{ . | markdownify}} · {{ end }}
|
||||
{{ with .Site.Copyright }}{{ replace . "{year}" now.Year | markdownify}} · {{ end }}
|
||||
|
||||
Powered by the
|
||||
<a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for
|
||||
|
||||
Reference in new issue
Block a user