Skip to content

Latest commit

 

History

History
58 lines (56 loc) · 2.72 KB

menu.md

File metadata and controls

58 lines (56 loc) · 2.72 KB
layout sitemap
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <script type="text/javascript" src="{{ site.url }}/js/webflow.full.js"></script> <script> function show_hide_sub_div(div_id) { for (var $i = 0, $j = document.getElementById(div_id).getElementsByClassName('sidenav-sub-links'); $i < $j.length; $i++) { if ( $j[$i].style.visibility == 'hidden'){ $j[$i].style.visibility = 'visible'; $j[$i].style.display = 'block'; }else{ $j[$i].style.visibility = 'hidden'; $j[$i].style.display = 'none'; } } } function addRow(cat,subcat,name,link, entry_path) { if (subcat){ // subcat handle sid=subcat.replace(" ", ""); subcatel=document.getElementById(sid); // if there isn't one if (! subcatel ){ var subcatel = document.createElement('div'); subcatel.className = 'sidenav-grp-7'; subcatel.id=subcat.replace(" ", ""); subcatel.innerHTML = ''; } //subcatel.innerHTML = subcatel.innerHTML + ''+name+''; var new_elem = document.createElement('div'); new_elem.className = 'sidenav-sub-links'; new_elem.innerHTML = ''+name+'' subcatel.appendChild(new_elem); document.getElementById(cat).getElementsByClassName('sidenav-grp-links')[0].appendChild(subcatel); }else{ thecat=document.getElementById(cat.replace(" ", "")+'-sub'); thecat.innerHTML = thecat.innerHTML + ''+name+'' ; } } </script>

{% assign cats = site.cats | sort %} {% for cat_hash in cats %} {% assign cats_string = cat_hash[0] | split:"::" %}

{% capture dir %}{{ cats_string[1] }}{% endcapture %} {% capture cat %}{{ cat_hash[1] }}{% endcapture %} {% include nav.html context=dir catname=cat %}
    </div>
    </div>

{% endfor %}