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:
authorMarkus Eliasson <markus.eliasson@gmail.com>2017-04-29 16:00:04 +0300
committerGitHub <noreply@github.com>2017-04-29 16:00:04 +0300
commit55615792f5b05665702380e8344b984e18f96eb0 (patch)
tree6b717f7409b00f8890a747d4f3d10347a8994c75
parent26265f03ef9433c91b73220b31ccf4c78a072d53 (diff)
parent8f748ff18a3e84f7803cd6ef43fb8ddd0a1859cd (diff)
Merge pull request #11 from apie/now
Replace .Now by template function
-rw-r--r--README.md2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--theme.toml2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 69dde00..0ea5290 100644
--- a/README.md
+++ b/README.md
@@ -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 }}&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>
diff --git a/theme.toml b/theme.toml
index 8efee05..8b923e8 100644
--- a/theme.toml
+++ b/theme.toml
@@ -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