Update header.html

This commit is contained in:
dongorgan 2023-11-12 12:04:49 +03:00 committed by GitHub
parent a55c95652a
commit 932239fbb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<!-- logo -->
<div class="order-0">
<!-- navbar brand/logo -->
<a class="navbar-brand block" href="{{ site.Home.Permalink }}">
<a class="navbar-brand block" href="{{ site.Home.RelPermalink }}">
{{ partial "logo" }}
</a>
</div>
@ -64,7 +64,7 @@
{{ end }}
href="{{- if findRE `^#` .URL -}}
{{- if not $.IsHome -}}
{{- site.Home.Permalink -}}
{{- site.Home.RelPermalink -}}
{{- end }}
{{- .URL -}}
{{- else -}}
@ -85,7 +85,7 @@
{{ end }}
href="{{- if findRE `^#` .URL -}}
{{- if not $.IsHome -}}
{{- site.Home.Permalink -}}
{{- site.Home.RelPermalink -}}
{{- end }}{{- .URL -}}
{{- else -}}
{{- .URL | relLangURL -}}