diff options
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a60e1ff..b1b5ac3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,8 +8,8 @@ {{ $themeScss := "scss/main.scss" }} {{ $options := (dict "targetPath" "css/main.css" "outputStyle" "compressed") }} - {{ $themeCss := resources.Get $themeScss | resources.ExecuteAsTemplate $themeScss . | toCSS $options }} - <link rel="stylesheet" href="{{ $themeCss.RelPermalink }}"> + {{ $themeCss := resources.Get $themeScss | resources.ExecuteAsTemplate $themeScss . | toCSS $options | minify | fingerprint }} + <link rel="stylesheet" href="{{ $themeCss.RelPermalink }}" integrity="{{ $themeCss.Data.Integrity }}" media="screen"> <link rel="stylesheet" href="/syntax.css" rel="stylesheet" /> |