diff options
author | Matt <matthew.rhone@outlook.com> | 2018-06-13 15:43:36 +0300 |
---|---|---|
committer | Matt <matthew.rhone@outlook.com> | 2018-06-13 15:43:36 +0300 |
commit | e5b6e234220a2c896a733daab2c0ae570fd652e4 (patch) | |
tree | a1a36b5faee924e4e08659e1948ae3aee0e82385 | |
parent | 0efdd8fe0bc5d236efa43e5987fda80880f3c8ab (diff) |
Fix issue with Now being depreciated, should render now.v0.3.1
-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 e55671b..7c9ce0d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ - <div class="copyright"><p>{{ with .Site.Copyright | safeHTML }}{{.}}{{ else }}© {{.Now.Format "2006"}}. {{ .Site.Title }}. All rights reserved. {{end}} + <div class="copyright"><p>{{ with .Site.Copyright | safeHTML }}{{.}}{{ else }}© {{ now.Format "2006"}}. {{ .Site.Title }}. All rights reserved. {{end}} </p> </div> {{ partial "google_analytics.html" . }} </div> |