Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ExchangeRate-API/strange-case.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkbm <david@rooikat.com>2017-09-11 17:29:52 +0300
committerdkbm <david@rooikat.com>2017-09-11 17:29:52 +0300
commit5fc228822106c417cf860dac6250ffaf462b02c3 (patch)
tree4385b4bcbb60c078e6ae4c4040af9a070cfd98b6 /layouts
parent5f4589f809b3993cc7e977ddc34761b97196b9d2 (diff)
Update for compatibility - 'now' function rather than '.Now'
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/sidebar-content.html2
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 }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
+ <p class="copyright">{{ with .Site.Params.copyright }}{{ . }}{{ else }}&copy; {{ now.Format "2006" }}. All rights reserved. {{end}}</p>
<p class="attr">Powered by <a href="http://http://gohugo.io">Hugo</a> &amp; <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>