diff options
author | Oliver Schneider <olsio@users.noreply.github.com> | 2017-03-25 12:09:32 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-25 12:09:32 +0100 |
commit | 6404f691fa0969a149340a5a1c650e9a282fd547 (patch) | |
tree | 60aead44b75bba5fa7917ae87c2de968b72d0807 | |
parent | d34cfef927da50d8f57682d092f8a1e7c155b5ce (diff) |
Replacing deprecated function call with now preferred version (#39)
Using the old call was producing the following Warning:
WARNING: Page's Now is deprecated and will be removed in a future
release. Use now (the template func).
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 4bdc33e..48fec6a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -14,6 +14,6 @@ {{end}} </ul> - <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> + <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}</p> </div> </div> |