[Navbar] Make navbar listing all pages instead of static
This commit is contained in:
parent
4d5a003abd
commit
d132bef691
1 changed files with 3 additions and 7 deletions
|
@ -11,15 +11,11 @@
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
<ul id="navigation-list">
|
<ul id="navigation-list">
|
||||||
|
{{ range .Pages }}
|
||||||
<li class="navigation-item">
|
<li class="navigation-item">
|
||||||
<a href="/blog">Blog</a>
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
</li>
|
|
||||||
<li class="navigation-item">
|
|
||||||
<a href="/projects">Projets</a>
|
|
||||||
</li>
|
|
||||||
<li class="navigation-item">
|
|
||||||
<a href="/contact">Contact</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue