switching to RelPermalink instead of Permalink for JS and CSS files
This commit is contained in:
parent
966286b96e
commit
cdf1cb3ac0
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
||||
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
|
||||
{{ range $val := $.Site.Params.customCSS }}
|
||||
{{ if gt (len $val) 0 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue