Skip to content

Instantly share code, notes, and snippets.

@olafghanizadeh
Created February 12, 2018 12:47
Show Gist options
  • Save olafghanizadeh/0727cdeebbfe95db74a58582ba7244a7 to your computer and use it in GitHub Desktop.
Save olafghanizadeh/0727cdeebbfe95db74a58582ba7244a7 to your computer and use it in GitHub Desktop.
{{ range $key, $taxonomy := .Site.Taxonomies.state }}
<h4>{{ $key }}</h4>
<ul class="uk-nav uk-nav-default">
{{ range $taxonomy.Pages }}
<li hugo-nav="{{ .RelPermalink}}"><a href="{{ .Permalink}}"> {{ .LinkTitle }} </a> </li>
{{ end }}
</ul>
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment