diff options
Diffstat (limited to 'website/_layouts')
-rw-r--r-- | website/_layouts/docs.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/website/_layouts/docs.html b/website/_layouts/docs.html index 3f16c94d1..e11492915 100644 --- a/website/_layouts/docs.html +++ b/website/_layouts/docs.html @@ -24,10 +24,11 @@ categories: {% endif %} {% assign subcategory = p.subcategory %} {% if subcategory != nil %} + {% assign ac = "aria-controls" %} {% assign cid = p.category | remove: " " | downcase %} {% assign sid = p.subcategory | remove: " " | downcase %} <li> - <a class="sidebar-nav-heading" data-toggle="collapse" href="#{{ cid }}-{{ sid }}" aria-expanded="false" aria-controls="{{ cid }}-{{ sid }}">{{ subcategory }}<span class="caret"></span></a> + <a class="sidebar-nav-heading" data-toggle="collapse" href="#{{ cid }}-{{ sid }}" aria-expanded="false" {{ ac }}="{{ cid }}-{{ sid }}">{{ subcategory }}<span class="caret"></span></a> <ul class="collapse sidebar-nav sidebar-submenu" id="{{ cid }}-{{ sid }}"> {% endif %} {% endif %} |