Fix theme.svg preload
The := operator will create a new variable instead of overriding the previous one
This commit is contained in:
parent
779b824603
commit
c7ea514621
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
<!-- Preload -->
|
<!-- Preload -->
|
||||||
{{ $dark_icon := "theme.png" }} {{ if site.Params.monoDarkIcon }} {{
|
{{ $dark_icon := "theme.png" }} {{ if site.Params.monoDarkIcon }} {{
|
||||||
$dark_icon := "theme.svg" }} {{ end }}
|
$dark_icon = "theme.svg" }} {{ end }}
|
||||||
<link rel="preload" as="image" href="{{ $dark_icon | absURL }}" />
|
<link rel="preload" as="image" href="{{ $dark_icon | absURL }}" />
|
||||||
|
|
||||||
{{ $avatar_url := $.Scratch.Get "avatar_url" }}
|
{{ $avatar_url := $.Scratch.Get "avatar_url" }}
|
||||||
|
|
Loading…
Reference in a new issue