[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>
|
||||
</label>
|
||||
<ul id="navigation-list">
|
||||
{{ range .Pages }}
|
||||
<li class="navigation-item">
|
||||
<a href="/blog">Blog</a>
|
||||
</li>
|
||||
<li class="navigation-item">
|
||||
<a href="/projects">Projets</a>
|
||||
</li>
|
||||
<li class="navigation-item">
|
||||
<a href="/contact">Contact</a>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue