Created
November 27, 2016 22:12
-
-
Save atomgroom/3c5d99d4c979c03d15aa1bb1b37a5ebc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }} | |
<ul class="global-nav"> | |
{{ range $key, $value := $taxonomy }} | |
<li> {{ $key }} </li> | |
<ul> | |
{{ range $value.Pages }} | |
<li hugo-nav="{{ .RelPermalink}}"> | |
<a href="{{ .Permalink}}"> {{ .LinkTitle }} </a> | |
</li> | |
{{ end }} | |
</ul> | |
{{ end }} | |
</ul> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment