Update header.html

This commit is contained in:
dongorgan 2023-11-12 11:59:59 +03:00 committed by GitHub
parent 6a1f7eb0e6
commit 097009718f
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.BaseURL | relLangURL }}"> <a class="navbar-brand block" href="{{ site.Home.Permalink }}">
{{ 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.BaseURL | relLangURL -}} {{- site.Home.Permalink -}}
{{- 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.BaseURL | relLangURL -}} {{- site.Home.Permalink -}}
{{- end }}{{- .URL -}} {{- end }}{{- .URL -}}
{{- else -}} {{- else -}}
{{- .URL | relLangURL -}} {{- .URL | relLangURL -}}