Attempt to resolve #62
Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
1 parent
a6b3dcb3a4
commit
df9511b184
1 file changed
+3
-2
@@ -11,8 +11,9 @@
|
||||
{{- end -}}
|
||||
{{ $favicon := "images/favicon.svg" }}
|
||||
{{- if (fileExists (printf "assets/%s" $favicon)) -}}
|
||||
{{- $svg_fav := resources.Get $favicon | minify -}}
|
||||
<link rel="icon" href="{{ $svg_fav.Permalink }}" type="image/svg+xml">
|
||||
{{- with resources.Get $favicon | minify -}}
|
||||
<link rel="icon" href="{{ .Permalink }}" type="image/svg+xml">
|
||||
{{- end -}}
|
||||
{{- else if (fileExists "static/favicon.svg") -}}
|
||||
<link rel="icon" href="{{"favicon.svg" | relURL}}" type="image/svg+xml">
|
||||
{{- end -}}
|
||||
|
||||
Reference in new issue
Block a user