[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> </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>