[Navbar] Make navbar listing all pages instead of static

This commit is contained in:
Gregory Trolliet 2020-04-28 19:41:03 +02:00
parent 4d5a003abd
commit d132bef691

View file

@ -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>