mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-23 02:04:41 +00:00
topbar: a11y #739
This commit is contained in:
parent
4d02514898
commit
c2054f24dd
3 changed files with 25 additions and 10 deletions
layouts/partials
|
@ -61,7 +61,7 @@
|
|||
{{- end }}
|
||||
{{- if and $icon (eq $iconposition "left") }}<i class="{{ $icon }}"></i>{{ end }}
|
||||
{{- if and $icon (eq $iconposition "left") $title }} {{ end }}
|
||||
{{- $title | safeHTML }}
|
||||
{{- if $title }}<span class="title">{{- $title | safeHTML }}</span>{{ end }}
|
||||
{{- if and $icon (eq $iconposition "right") $title }} {{ end }}
|
||||
{{- if and $icon (eq $iconposition "right") }}<i class="{{ $icon }}"></i>{{ end }}
|
||||
{{- if $isButton -}}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
{{- end }}
|
||||
{{- if and $icon }}<i class="{{ $icon }}"></i>{{ end }}
|
||||
{{- if and $icon $title }} {{ end }}
|
||||
{{- $title | safeHTML }}
|
||||
{{- if $title }}<span class="title">{{- $title | safeHTML }}</span>{{ end }}
|
||||
{{- if $isDisabled -}}
|
||||
</span>
|
||||
{{- else if $isButton -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue