Merge pull request #83 from msfjarvis/mime-type
layouts: add text/css MIME type to stylesheets
This commit is contained in:
commit
b0d0c4bf59
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue