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

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-07-15 13:18:36 +0300
committerHarsh Shandilya <me@msfjarvis.dev>2020-07-15 13:18:36 +0300
commitc5ee40fa49d21c35856a583a76e3e13a57cf9291 (patch)
treeaf494e5ad0abc801c9de6b2d2853a2eaa32e96da
parentbe71ca85ee2f83aacc3389d1a9af4d74ff7690a7 (diff)
layouts: add text/css MIME type to stylesheets
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-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 26e9fe1..bcda1eb 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -33,7 +33,7 @@
{{ range (slice $base_styles_opts $custom_styles_opts) }}
{{ $style := resources.Get .src | resources.ExecuteAsTemplate .dest $current_page | toCSS | minify | fingerprint }}
- <link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}"/>
+ <link type="text/css" rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}"/>
{{ end }}
{{ range .AlternativeOutputFormats }}