Skip to content

Commit

Permalink
bugfix: relative links on navbar dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Oct 2, 2024
1 parent 36511a7 commit 80862b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<div class="row">
<ul class="nest-ul nested-ul">
{{ range .Pages }}
<li><a class="dropdown-item nested{{ if eq $p.Path .Path }} active {{ end }}" href="{{if .Params.manualLink }}{{ .Params.manualLink }}{{ else }}{{ .Permalink }}{{ end }}">{{ .Title }}{{ if .Params.external }} <i class="fa-solid fa-up-right-from-square fa-2xs external-link text-muted"></i>{{ end }}</a>
<li><a class="dropdown-item nested{{ if eq $p.Path .Path }} active {{ end }}" href="{{if .Params.manualLink }}{{ .Params.manualLink }}{{ else }}{{ .RelPermalink }}{{ end }}">{{ .Title }}{{ if .Params.external }} <i class="fa-solid fa-up-right-from-square fa-2xs external-link text-muted"></i>{{ end }}</a>
<p>{{ .Params.shortBlerb }}</p></li>
{{ end }}
</ul>
Expand Down

0 comments on commit 80862b1

Please sign in to comment.