mirror of https://github.com/jpanther/congo.git
23 lines
706 B
HTML
23 lines
706 B
HTML
{{- 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 }}"
|
|
height="{{ div $logo.Height 2 }}"
|
|
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left"
|
|
alt="{{ .Site.Title }}"
|
|
/>
|
|
</a>
|
|
{{- 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"
|
|
href="{{ "" | relLangURL }}"
|
|
>{{ .Site.Title | markdownify | emojify }}</a
|
|
>
|
|
{{- end }}
|