better aria-current matching
This commit is contained in:
parent
7af7444475
commit
a0f8aa23ba
|
@ -81,7 +81,7 @@
|
|||
<ul id="patterns-list">
|
||||
{{ range .Pages.ByWeight }}
|
||||
<li class="pattern">
|
||||
<a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
|
||||
<a href="{{ .RelPermalink }}" {{ if eq $current.Permalink .Permalink }}aria-current="page"{{ end }}>
|
||||
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
||||
<use xlink:href="#bookmark"></use>
|
||||
</svg>
|
||||
|
|
Loading…
Reference in New Issue
Block a user