diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-01-01 23:54:19 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-01-01 23:54:19 +0100 |
commit | a60ec06383d85c4c28d149d0a1d7da5611ed6fb8 (patch) | |
tree | 96b76bb7248287b8663ab656c686df78229f9734 /docs/layouts | |
parent | 09a0af94f54a0dbc8900c95ce5c83ee514d8ca68 (diff) |
docs: Replace .Now with now
Diffstat (limited to 'docs/layouts')
-rw-r--r-- | docs/layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/layouts/index.html b/docs/layouts/index.html index 293dd71e2..3a78e79be 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -175,7 +175,7 @@ {{ "<!--wrapper for slides start-->" | safeHTML }} <div class="carousel-inner owl-carousel"> -{{ partial "quotes.html" ((where $.Site.Data.references.quotes "date" "ge" ($.Now.AddDate -2 0 0) | shuffle )) }} +{{ partial "quotes.html" ((where $.Site.Data.references.quotes "date" "ge" (now.AddDate -2 0 0) | shuffle )) }} </div> {{ "<!--wrapper for slides end-->" | safeHTML }} @@ -275,7 +275,7 @@ <li><a class="icon-octocat icon-2x" href="https://github.com/spf13/hugo"></a></li> </ul> <hr> - <p>Copyright © Steve Francia 2013–{{ .Now.Format "2006" }}</p> + <p>Copyright © Steve Francia 2013–{{ now.Format "2006" }}</p> </div> </div> {{ "<!--row end-->" | safeHTML }} |