diff options
author | Denick Murray <denick@denick.org> | 2017-04-27 16:38:12 +0300 |
---|---|---|
committer | Denick Murray <denick@denick.org> | 2017-04-27 16:38:12 +0300 |
commit | cdc1d42f8bd06cac62a2259dcaa9924d7219894f (patch) | |
tree | 8744dfc9d59f4ae4a71a51ddc0d947de091eebd2 | |
parent | 901ad23e5235e5427d1ad6458bef9d0e4b028eb1 (diff) |
Replace .Now by template function
Closes eliasson/liquorice#9
-rw-r--r-- | layouts/partials/footer.html | 2 |
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 }}© {{.Now.Format "2006"}}. All rights reserved. {{end}} + {{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ 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> |