mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-05-11 22:14:50 +08:00
theme: wildspace
This commit is contained in:
parent
7a5ef80c09
commit
be221f2f5b
@ -1,14 +1,14 @@
|
||||
{{- $assetBusting := not .Site.Params.disableAssetsBusting -}}
|
||||
{{- if (fileExists "/static/images/favicon.svg") }}
|
||||
<link rel="icon" href="{{ "/images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||
{{- else if (fileExists "/static/images/favicon.png") }}
|
||||
<link rel="icon" href="{{ "/images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||
{{- else if (fileExists "/static/images/favicon.ico") }}
|
||||
<link rel="icon" href="{{ "/images/favicon.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||
{{- else if (fileExists "/static/images/logo.svg") }}
|
||||
<link rel="icon" href="{{ "/images/logo.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||
{{- else if (fileExists "/static/images/logo.png") }}
|
||||
<link rel="icon" href="{{ "/images/logo.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||
{{- else if (fileExists "/static/images/logo.ico") }}
|
||||
<link rel="icon" href="{{ "/images/logo.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||
{{- if (fileExists "/static/images/favicon.svg") -}}
|
||||
<link rel="icon" href="{{ "/images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||
{{- else if (fileExists "/static/images/favicon.png") -}}
|
||||
<link rel="icon" href="{{ "/images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||
{{- else if (fileExists "/static/images/favicon.ico") -}}
|
||||
<link rel="icon" href="{{ "/images/favicon.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||
{{- else if (fileExists "/static/images/logo.svg") -}}
|
||||
<link rel="icon" href="{{ "/images/logo.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||
{{- else if (fileExists "/static/images/logo.png") -}}
|
||||
<link rel="icon" href="{{ "/images/logo.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||
{{- else if (fileExists "/static/images/logo.ico") -}}
|
||||
<link rel="icon" href="{{ "/images/logo.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||
{{- end }}
|
Loading…
x
Reference in New Issue
Block a user