fix: docs url
This commit is contained in:
parent
1c9f9bce12
commit
89fa8d1d30
|
@ -34,7 +34,7 @@
|
||||||
{{- $active = or $active (and (eq .Name "Docs") (eq $current.Section "docs")) -}}
|
{{- $active = or $active (and (eq .Name "Docs") (eq $current.Section "docs")) -}}
|
||||||
{{- $active = or $active (and (eq .Name "Blog") (eq $current.Section "blog" "authors")) -}}
|
{{- $active = or $active (and (eq .Name "Blog") (eq $current.Section "blog" "authors")) -}}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link ps-0 py-1{{ if $active }} active{{ end }}" href="{{ .URL | relURL }}">{{ .Name }}</a>
|
<a class="nav-link ps-0 py-1{{ if $active }} active{{ end }}" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue