Use ref to safely resolve page
Even if it is just the homepage
This commit is contained in:
parent
4fb51813c4
commit
0dd177e4da
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<nav class="navbar navbar-expand-sm navbar-dark">
|
<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">
|
<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>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue