Browse Source

change location of nav data

main
Gus Esquivel 8 years ago
parent
commit
1edc87c441
  1. 2
      layouts/partials/nav.html
  2. 2
      layouts/partials/nav_item.html

2
layouts/partials/nav.html

@ -2,7 +2,7 @@
<nav> <nav>
<ul> <ul>
<li class="tag"><a data-tooltip="all" href="#"><i class="icon fa fa-th" aria-hidden="true"></i></a></li> <li class="tag"><a data-tooltip="all" href="#"><i class="icon fa fa-th" aria-hidden="true"></i></a></li>
{{ range .Site.Data.nav.tags }} {{ partial "nav_item.html" . }}{{- end }} {{ range .Site.Params.nav }} {{ partial "nav_item.html" . }}{{- end }}
</ul> </ul>
</nav> </nav>
</div> </div>

2
layouts/partials/nav_item.html

@ -1 +1 @@
<li class="tag"><a data-tooltip="{{ .name }}" href="#{{ .name | urlize }}"><i class="icon fa fa-{{ .icon }}" aria-hidden="true"></i></a></li> <li class="tag"><a data-tooltip="{{ .name }}" href="#{{ .tag | urlize }}"><i class="icon fa fa-{{ .icon }}" aria-hidden="true"></i></a></li>

Loading…
Cancel
Save