Merge pull request #894 from CommanderStorm/master

fix: navbar-brand href now links to the BaseURL instead of `/`
This commit is contained in:
Henk Verlinde
2023-02-19 13:35:13 +01:00
committed by GitHub

View File

@ -11,7 +11,7 @@
<header class="navbar navbar-expand-lg navbar-light doks-navbar">
<nav class="container-{{ if .Site.Params.options.fullWidth }}fluid{{ else }}xxl{{ end }} flex-wrap flex-lg-nowrap" aria-label="Main navigation">
<a class="navbar-brand order-0" href="{{ "/" | relLangURL }}" aria-label="{{ .Site.Params.Title }}">
<a class="navbar-brand order-0" href="{{ .Site.BaseURL | relLangURL }}" aria-label="{{ .Site.Params.Title }}">
{{ .Site.Params.Title }}
</a>