mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 00:45:46 -04:00
✨ Add site title display toggle
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ if .Site.Params.Logo -}}
|
||||
{{ $logo := resources.Get .Site.Params.Logo }}
|
||||
{{ if $logo }}
|
||||
<a href="{{ "" | relLangURL }}">
|
||||
{{- if .Site.Params.header.logo }}
|
||||
{{- $logo := resources.Get .Site.Params.header.logo }}
|
||||
{{- if $logo }}
|
||||
<a href="{{ "" | relLangURL }}" class="mr-2">
|
||||
<img
|
||||
src="{{ $logo.RelPermalink }}"
|
||||
width="{{ div $logo.Width 2 }}"
|
||||
@@ -10,8 +10,9 @@
|
||||
alt="{{ .Site.Title }}"
|
||||
/>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Site.Params.header.showTitle | default true }}
|
||||
<a
|
||||
class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2"
|
||||
rel="me"
|
||||
|
||||
Reference in New Issue
Block a user