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
1 changed files with 2 additions and 2 deletions

View File

@ -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 &copy; Steve Francia 2013&ndash;{{ .Now.Format "2006" }}</p>
<p>Copyright &copy; Steve Francia 2013&ndash;{{ now.Format "2006" }}</p>
</div>
</div>
{{ "<!--row end-->" | safeHTML }}