docs: Replace .Now with now

This commit is contained in:
Bjørn Erik Pedersen 2017-01-01 23:54:19 +01:00
parent 09a0af94f5
commit a60ec06383

View file

@ -175,7 +175,7 @@
{{ "<!--wrapper for slides start-->" | safeHTML }} {{ "<!--wrapper for slides start-->" | safeHTML }}
<div class="carousel-inner owl-carousel"> <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> </div>
{{ "<!--wrapper for slides end-->" | safeHTML }} {{ "<!--wrapper for slides end-->" | safeHTML }}
@ -275,7 +275,7 @@
<li><a class="icon-octocat icon-2x" href="https://github.com/spf13/hugo"></a></li> <li><a class="icon-octocat icon-2x" href="https://github.com/spf13/hugo"></a></li>
</ul> </ul>
<hr> <hr>
<p>Copyright &copy; Steve Francia 2013&ndash;{{ .Now.Format "2006" }}</p> <p>Copyright &copy; Steve Francia 2013&ndash;{{ now.Format "2006" }}</p>
</div> </div>
</div> </div>
{{ "<!--row end-->" | safeHTML }} {{ "<!--row end-->" | safeHTML }}