Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Mitrichius/hugo-theme-anubis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kolosov <mitrichius@gmail.com>2020-02-15 23:30:39 +0300
committerDmitry Kolosov <mitrichius@gmail.com>2020-02-15 23:30:39 +0300
commit47453ee2054041140b1872faf9be956d634e4fd8 (patch)
tree1cdcbb96b48eaed72132cbf79da0f6988119acde /layouts/partials/head.html
parent20fc8d4245eac7c45d59422090799dd73804859b (diff)
update relURL to absURL
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c5c635e..cb66e68 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -7,12 +7,12 @@
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{ .Site.Params.Description }}">
-<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "/rss/" }}">
+<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "/rss/" | absURL }}">
-<link rel="icon" type="image/x-icon" href="/favicon.ico">
-<link rel="apple-touch-icon-precomposed" href="/favicon.png">
+<link rel="icon" type="image/x-icon" href="{{ "/favicon.ico" | absURL }}">
+<link rel="apple-touch-icon-precomposed" href="{{ "/favicon.png" | absURL }}">
-<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}?rnd={{ now.Unix }}" />
+<link rel="stylesheet" href="{{ "/css/style.css" | absURL }}?rnd={{ now.Unix }}" />
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}