Merge pull request #83 from msfjarvis/mime-type

layouts: add text/css MIME type to stylesheets
This commit is contained in:
Jake Wiesler 2020-07-15 08:43:40 -04:00 committed by GitHub
commit b0d0c4bf59
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}