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

github.com/eliasson/liquorice.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenick Murray <denick@denick.org>2017-04-27 16:38:12 +0300
committerDenick Murray <denick@denick.org>2017-04-27 16:38:12 +0300
commitcdc1d42f8bd06cac62a2259dcaa9924d7219894f (patch)
tree8744dfc9d59f4ae4a71a51ddc0d947de091eebd2
parent901ad23e5235e5427d1ad6458bef9d0e4b028eb1 (diff)
Replace .Now by template function
Closes eliasson/liquorice#9
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 0cc8ecc..047fa94 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,7 +3,7 @@
<div class="row">
<div class="sixteen columns">
<div class="li-page-footer-legal">
- {{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}
+ {{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}
</div>
<div class="li-page-footer-theme">
<span class=""><a href="https://github.com/eliasson/liquorice/">liquorice</a> is a theme for <a href="http://hugo.spf13.com">hugo</a></span>