1
Fork 0

Use ref to safely resolve page

Even if it is just the homepage
This commit is contained in:
Jake Howard 2020-09-05 22:54:33 +01:00
parent 4fb51813c4
commit 0dd177e4da
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,5 +1,5 @@
<nav class="navbar navbar-expand-sm navbar-dark">
<a class="navbar-brand" href='{{ relURL "" }}'><code>/home/{{ lower .Site.Title }}</code></a>
<a class="navbar-brand" href='{{ ref . "/" }}'><code>/home/{{ lower .Site.Title }}</code></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>