Clean up template
This commit is contained in:
parent
889cd3b1a8
commit
f35a82fae4
1 changed files with 11 additions and 13 deletions
|
@ -1,17 +1,15 @@
|
|||
<nav class="pv2 ph0 ph0-ns bg-black-30">
|
||||
<nav>
|
||||
<div id="menu">
|
||||
<div class="flex-l items-center">
|
||||
{{ if .Site.Menus.main }}
|
||||
<ul class="ma0 pl5 pv1">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="list f5 f4-ns fw4 dib pr3">
|
||||
<a class="no-underline f4" href="{{ .URL }}" title="{{ .Name }}">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
<div>
|
||||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}" title="{{ .Name }}">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue