diff options
author | Kenichi Kamiya <kachick1@gmail.com> | 2022-11-02 17:25:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 17:25:21 +0300 |
commit | 871d3f20470796118d2367c3eab64b190e40c080 (patch) | |
tree | 579381260c4e211210089812fd41927cb73c5a76 | |
parent | bd6e4228fdae3cf4a34e7c133ef528e8b5bf69d0 (diff) |
prefer `RelPermalink` for CSS file (#95)
-rw-r--r-- | layouts/_default/baseof.html | 2 |
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" . }} |