mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 12:41:06 +00:00
docs: Replace .Now with now
This commit is contained in:
parent
09a0af94f5
commit
a60ec06383
1 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue