diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/docs/menu-filetree.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html index a4835b2..f8290df 100644 --- a/layouts/partials/docs/menu-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -31,7 +31,7 @@ {{ if .Page.Params.bookCollapseSection }} <input type="checkbox" id="section-{{ md5 .Page }}" class="toggle" {{ if or $current $ancestor }}checked{{ end }} /> <label for="section-{{ md5 .Page }}" class="flex justify-between"> - <a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ end }} class="{{ if $current }}active{{ end }}"> + <a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ else }}role="button"{{ end }} class="{{ if $current }}active{{ end }}"> {{- partial "docs/title" .Page -}} </a> </label> |