diff options
author | dkbm <david@rooikat.com> | 2017-09-11 17:29:52 +0300 |
---|---|---|
committer | dkbm <david@rooikat.com> | 2017-09-11 17:29:52 +0300 |
commit | 5fc228822106c417cf860dac6250ffaf462b02c3 (patch) | |
tree | 4385b4bcbb60c078e6ae4c4040af9a070cfd98b6 /layouts | |
parent | 5f4589f809b3993cc7e977ddc34761b97196b9d2 (diff) |
Update for compatibility - 'now' function rather than '.Now'
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sidebar-content.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar-content.html b/layouts/partials/sidebar-content.html index b00524d..dbed850 100644 --- a/layouts/partials/sidebar-content.html +++ b/layouts/partials/sidebar-content.html @@ -25,7 +25,7 @@ </ul> </div> - <p class="copyright">{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> + <p class="copyright">{{ with .Site.Params.copyright }}{{ . }}{{ else }}© {{ now.Format "2006" }}. All rights reserved. {{end}}</p> <p class="attr">Powered by <a href="http://http://gohugo.io">Hugo</a> & <a href="https://github.com/ExchangeRate-API/strange-case">Strange Case</a> (inspired by <a href="https://github.com/poole/hyde">Hyde</a>).</p> </div> |