7
0
Fork 0

Uitschakelen button, lijkt niet nodig te zijn voor menu

This commit is contained in:
Michael Boelen 2023-05-31 11:31:16 +02:00
parent b6d07fc821
commit f38b451bcd

View file

@ -19,7 +19,7 @@
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }} {{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
{{ if .Children }} {{ if .Children }}
<li> <li>
<button type="button" aria-haspopup="true" aria-expanded="true" aria-controls="dropdown-{{ $.Scratch.Get "counter" }}" aria-labelledby="button-link-{{ $.Scratch.Get "counter" }}"></button> <!-- <button type="button" aria-haspopup="true" aria-expanded="true" aria-controls="dropdown-{{ $.Scratch.Get "counter" }}" aria-labelledby="button-link-{{ $.Scratch.Get "counter" }}"></button> -->
<a id="button-link-{{ $.Scratch.Get "counter" }}" href="{{ .URL }}">{{ or (T .Identifier) .Name | strings.FirstUpper | safeHTML }}</a> <a id="button-link-{{ $.Scratch.Get "counter" }}" href="{{ .URL }}">{{ or (T .Identifier) .Name | strings.FirstUpper | safeHTML }}</a>
<ul class="dropdown" id="dropdown-{{ $.Scratch.Get "counter" }}"> <ul class="dropdown" id="dropdown-{{ $.Scratch.Get "counter" }}">
{{ range .Children }} {{ range .Children }}
@ -29,14 +29,14 @@
</li> </li>
{{ else }} {{ else }}
<li> <li>
<button type="button" aria-haspopup="true" aria-expanded="true" aria-labelledby="button-link-{{ $.Scratch.Get "counter" }}"></button> <!-- <button type="button" aria-haspopup="true" aria-expanded="true" aria-labelledby="button-link-{{ $.Scratch.Get "counter" }}"></button> -->
<a id="button-link-{{ $.Scratch.Get "counter" }}" href="{{ .URL }}">{{ or (T .Identifier) .Name | strings.FirstUpper | safeHTML }}</a> <a id="button-link-{{ $.Scratch.Get "counter" }}" href="{{ .URL }}">{{ or (T .Identifier) .Name | strings.FirstUpper | safeHTML }}</a>
</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}
<li> <li>
{{ $search := safeHTML (strings.FirstUpper (i18n "search")) }} {{ $search := safeHTML (strings.FirstUpper (i18n "search")) }}
<button type="button" aria-haspopup="false" aria-expanded="true" aria-label="{{ $search }}"></button> <!-- <button type="button" aria-haspopup="false" aria-expanded="true" aria-label="{{ $search }}"></button> -->
<a href="{{ relLangURL "/zoeken/" }}"> <a href="{{ relLangURL "/zoeken/" }}">
{{ partial "show-svg-icon.html" (dict "context" . "icon" "magnifying-glass" "title" $search) }} {{ partial "show-svg-icon.html" (dict "context" . "icon" "magnifying-glass" "title" $search) }}
</a> </a>