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

github.com/jsnjack/hugo-changelog-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYauhen Shulitski <jsnjack@gmail.com>2018-10-01 15:42:54 +0300
committerYauhen Shulitski <jsnjack@gmail.com>2018-10-01 15:43:02 +0300
commit2657b7096333028d1c1b5cd3f6ca7fdb9b436f1a (patch)
treea9876caeebcb0d027f6243d5a9746347cfb5e1e5
parentd64d8838dcb76874aaa641349ebac8021a1d7815 (diff)
:p: Use relative URLs
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index ae1eb5b..1f81c9f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -17,16 +17,16 @@
<!-- Icons -->
<!-- RSS -->
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ <link href="{{ .RSSLink | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ if not .Site.Params.disableOriginalStyles -}}
{{ $scss := resources.Get "changelog.scss" }}
{{ $style := $scss | resources.ToCSS | resources.Minify }}
- <link rel="stylesheet" href="{{ $style.Permalink }}">
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{- end}}
{{ range .Site.Params.customCSS -}}
- <link rel="stylesheet" href="{{ . | absURL }}">
+ <link rel="stylesheet" href="{{ . | relURL }}">
{{- end }}