edited post

This commit is contained in:
Morgan 2023-10-29 11:40:51 +09:00
parent 1d696c6b9f
commit 5c9be30197
2 changed files with 3 additions and 4 deletions

View File

@ -74,7 +74,7 @@ params:
label:
icon: /favicon.ico
iconHeight: 32
iconHeight: 24
analytics:
google:

View File

@ -41,10 +41,9 @@
<img src="{{- site.Params.label.icon | absURL -}}" alt="" aria-label="logo"
height="{{- site.Params.label.iconHeight | default "30" -}}">
{{- end -}}
{{- else if hasPrefix site.Params.label.iconSVG "<svg" }}
{{ site.Params.label.iconSVG | safeHTML }}
{{- else }}
{{- $label_text -}}
{{- end -}}
{{- $label_text -}}
</a>
{{- end }}
<div class="logo-switches">