ref: a60ec06383d85c4c28d149d0a1d7da5611ed6fb8
parent: 09a0af94f54a0dbc8900c95ce5c83ee514d8ca68
author: Bjørn Erik Pedersen <[email protected]>
date: Sun Jan 1 18:54:19 EST 2017
docs: Replace .Now with now
--- 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 }}