summaryrefslogtreecommitdiffstats
path: root/docs/layouts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-01 23:54:19 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-01 23:54:19 +0100
commita60ec06383d85c4c28d149d0a1d7da5611ed6fb8 (patch)
tree96b76bb7248287b8663ab656c686df78229f9734 /docs/layouts
parent09a0af94f54a0dbc8900c95ce5c83ee514d8ca68 (diff)
docs: Replace .Now with now
Diffstat (limited to 'docs/layouts')
-rw-r--r--docs/layouts/index.html4
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 &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 }}