Make them linkable

This commit is contained in:
Luke Murphy 2021-01-09 19:29:42 +01:00
parent ca20407cbc
commit 9854c24277
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 0 deletions

View File

@ -1,8 +1,10 @@
<div id="nav-border" class="container">
<nav id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</nav>
</div>