Use real absURL (#36)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{{- $fontFace := replace .Site.Params.font.name " " "+" }}
|
{{- $fontFace := replace .Site.Params.font.name " " "+" }}
|
||||||
{{- $fontSizes := delimit .Site.Params.font.sizes "," }}
|
{{- $fontSizes := delimit .Site.Params.font.sizes "," }}
|
||||||
{{- $fontUrl := printf "https://fonts.googleapis.com/css?family=%s:%s" $fontFace $fontSizes }}
|
{{- $fontUrl := printf "https://fonts.googleapis.com/css?family=%s:%s" $fontFace $fontSizes }}
|
||||||
<link rel="icon" type="image/png" href="{{ "/images/favicon.png" | absURL }}" />
|
<link rel="icon" type="image/png" href="{{ "images/favicon.png" | absURL }}" />
|
||||||
<link href="{{ $fontUrl }}" rel="stylesheet">
|
<link href="{{ $fontUrl }}" rel="stylesheet">
|
||||||
{{- if $inServerMode }}
|
{{- if $inServerMode }}
|
||||||
{{- $css := resources.Get $sass | toCSS $cssOpts }}
|
{{- $css := resources.Get $sass | toCSS $cssOpts }}
|
||||||
@@ -14,4 +14,4 @@
|
|||||||
{{- $css := resources.Get $sass | toCSS $cssOpts | minify | fingerprint }}
|
{{- $css := resources.Get $sass | toCSS $cssOpts | minify | fingerprint }}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
|
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ "/css/icons.css" | absURL }}">
|
<link rel="stylesheet" type="text/css" href="{{ "css/icons.css" | absURL }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user