feat: Option to hide logo label text

This commit is contained in:
Peter Keefe 2023-04-28 09:17:36 -04:00
parent be5badf317
commit bf89bd801a

View File

@ -69,7 +69,9 @@
{{- else if hasPrefix site.Params.label.iconSVG "<svg" }} {{- else if hasPrefix site.Params.label.iconSVG "<svg" }}
{{ site.Params.label.iconSVG | safeHTML }} {{ site.Params.label.iconSVG | safeHTML }}
{{- end -}} {{- end -}}
{{- if ne site.Params.label.showText false -}}
{{- $label_text -}} {{- $label_text -}}
{{- end -}}
</a> </a>
{{- end }} {{- end }}
<div class="logo-switches"> <div class="logo-switches">