mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
theme: wildspace
This commit is contained in:
parent
7a5ef80c09
commit
be221f2f5b
2 changed files with 14 additions and 14 deletions
|
@ -1,14 +1,14 @@
|
||||||
{{- $assetBusting := not .Site.Params.disableAssetsBusting -}}
|
{{- $assetBusting := not .Site.Params.disableAssetsBusting -}}
|
||||||
{{- if (fileExists "/static/images/favicon.svg") }}
|
{{- if (fileExists "/static/images/favicon.svg") -}}
|
||||||
<link rel="icon" href="{{ "/images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
<link rel="icon" href="{{ "/images/favicon.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||||
{{- else if (fileExists "/static/images/favicon.png") }}
|
{{- else if (fileExists "/static/images/favicon.png") -}}
|
||||||
<link rel="icon" href="{{ "/images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
<link rel="icon" href="{{ "/images/favicon.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||||
{{- else if (fileExists "/static/images/favicon.ico") }}
|
{{- else if (fileExists "/static/images/favicon.ico") -}}
|
||||||
<link rel="icon" href="{{ "/images/favicon.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
<link rel="icon" href="{{ "/images/favicon.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||||
{{- else if (fileExists "/static/images/logo.svg") }}
|
{{- else if (fileExists "/static/images/logo.svg") -}}
|
||||||
<link rel="icon" href="{{ "/images/logo.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
<link rel="icon" href="{{ "/images/logo.svg" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/svg+xml">
|
||||||
{{- else if (fileExists "/static/images/logo.png") }}
|
{{- else if (fileExists "/static/images/logo.png") -}}
|
||||||
<link rel="icon" href="{{ "/images/logo.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
<link rel="icon" href="{{ "/images/logo.png" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/png">
|
||||||
{{- else if (fileExists "/static/images/logo.ico") }}
|
{{- else if (fileExists "/static/images/logo.ico") -}}
|
||||||
<link rel="icon" href="{{ "/images/logo.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
<link rel="icon" href="{{ "/images/logo.icon" | relURL }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" type="image/x-icon">
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -28,7 +28,7 @@
|
||||||
:root #header + #content > #left > #rlblock_left{
|
:root #header + #content > #left > #rlblock_left{
|
||||||
display:none !important;
|
display:none !important;
|
||||||
}
|
}
|
||||||
{{- if .Site.Params.disableInlineCopyToClipBoard }}
|
{{- if .Site.Params.disableInlineCopyToClipBoard }}
|
||||||
:not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard {
|
:not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
border-top-right-radius: 2px;
|
border-top-right-radius: 2px;
|
||||||
border-right-width: 1px;
|
border-right-width: 1px;
|
||||||
}
|
}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</style>
|
</style>
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue