diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.gmi | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/footer.gmi b/layouts/partials/footer.gmi index 338e88e..957c9d0 100644 --- a/layouts/partials/footer.gmi +++ b/layouts/partials/footer.gmi @@ -1 +1 @@ -{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }}
\ No newline at end of file +{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") | safeHTML }}
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5f8ffc6..00194b2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ <footer class="footer"> - <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") }}</p> + <p class="footer__text">{{ replace $.Site.Copyright "{currentYear}" (now.UTC.Format "2006") }}</p> </footer>
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 34a6ead..846de75 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,6 +14,9 @@ {{- end -}} {{ else }} <link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}"> + {{- end -}} + {{ if (not (fileExists "static/favicon.ico")) }} + <link rel="icon" href="data:,"> {{- end }} <title>{{ .Title }}</title> </head>
\ No newline at end of file |