Merge pull request #894 from CommanderStorm/master
fix: navbar-brand href now links to the BaseURL instead of `/`
This commit is contained in:
commit
d00e52dd55
|
@ -11,7 +11,7 @@
|
||||||
<header class="navbar navbar-expand-lg navbar-light doks-navbar">
|
<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">
|
<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 }}
|
{{ .Site.Params.Title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue