Replace deprecated .Now with now template function

main
vimux 5 years ago
parent ddb5e32665
commit bd3330875a
  1. 2
      layouts/partials/footer.html

@ -1,5 +1,5 @@
<footer>
<p>&copy; {{ .Now.Year }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></p>
<p>&copy; {{ now.Year }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></p>
</footer>
</body>
</html>
Loading…
Cancel
Save