diff options
author | Markus Eliasson <markus.eliasson@gmail.com> | 2017-04-29 16:00:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 16:00:04 +0300 |
commit | 55615792f5b05665702380e8344b984e18f96eb0 (patch) | |
tree | 6b717f7409b00f8890a747d4f3d10347a8994c75 | |
parent | 26265f03ef9433c91b73220b31ccf4c78a072d53 (diff) | |
parent | 8f748ff18a3e84f7803cd6ef43fb8ddd0a1859cd (diff) |
Merge pull request #11 from apie/now
Replace .Now by template function
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ Liquorice is a small black and white theme for [Hugo](https://github.com/spf13/h ### Dependencies -Liquorice needs at least version 0.14 of Hugo. +Liquorice needs at least version 0.20 of Hugo. ### Partials 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> @@ -5,4 +5,4 @@ licenselink = "https://github.com/eliasson/liquorice/blob/master/LICENSE" name = "liquorice" source_repo = "https://github.com/eliasson/liquorice" tags = ["", ""] -min_version=0.14 +min_version=0.20 |