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

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Kamiya <kachick1@gmail.com>2022-11-02 17:25:21 +0300
committerGitHub <noreply@github.com>2022-11-02 17:25:21 +0300
commit871d3f20470796118d2367c3eab64b190e40c080 (patch)
tree579381260c4e211210089812fd41927cb73c5a76
parentbd6e4228fdae3cf4a34e7c133ef528e8b5bf69d0 (diff)
prefer `RelPermalink` for CSS file (#95)
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 7ed1318..e26f9bd 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,7 +9,7 @@
<meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
- <link rel="stylesheet" href="{{ $style.Permalink }}" />
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ template "_internal/google_analytics.html" . }}
{{ template "_internal/twitter_cards.html" . }}