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

View File

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