docs: Replace .Now with now
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 1 Jan 2017 22:54:19 +0000 (23:54 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 1 Jan 2017 22:54:19 +0000 (23:54 +0100)
docs/layouts/index.html

index 293dd71e2dac54efb699c810ce17b4738d59ce3b..3a78e79be0d8f0f628dea38d682fad3a77ed7508 100644 (file)
 
                   {{ "<!--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 }}
 
                     <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 }}