mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-15 04:52:55 -04:00
🐛 Fix homepage link when baseURL contains sub-directories in path
This commit is contained in:
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Search link does not appear in header if main menu has no items to display
|
||||
- Search only returns results in the primary language when multiple languages are available ([#229](https://github.com/jpanther/congo/issues/229))
|
||||
- Link to homepage would be incorrect in some deployments if `baseURL` contained sub-directories in the path
|
||||
|
||||
## [2.2.3] - 2022-06-22
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{{ if .Site.Params.Logo -}}
|
||||
{{ $logo := resources.Get .Site.Params.Logo }}
|
||||
{{ if $logo }}
|
||||
<a href="{{ "/" | relLangURL }}">
|
||||
<a href="{{ "" | relLangURL }}">
|
||||
<img
|
||||
src="{{ $logo.RelPermalink }}"
|
||||
width="{{ div $logo.Width 2 }}"
|
||||
@@ -20,7 +20,7 @@
|
||||
<a
|
||||
class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2"
|
||||
rel="me"
|
||||
href="{{ "/" | relLangURL }}"
|
||||
href="{{ "" | relLangURL }}"
|
||||
>{{ .Site.Title | markdownify | emojify }}</a
|
||||
>
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user