enh: show "Home" iff no logo

This commit is contained in:
Edoardo Rosa 2023-11-26 19:32:26 +01:00
parent 30133f50cd
commit 59a34dc7e2
No known key found for this signature in database
GPG key ID: 2AF1937D15CB28F6

View file

@ -17,12 +17,13 @@
<div class="flex flex-1 items-center justify-between">
<nav class="flex space-x-3">
{{ if not .Site.Params.disableTextInHeader | default true }}
<a href="{{ "" | relLangURL }}" class="text-base font-medium text-gray-500 hover:text-gray-900">{{
.Site.Title | markdownify
| emojify }}</a>
{{ if not .Site.Params.Logo }}
<a href="{{ "" | relLangURL }}" class="text-base font-medium text-gray-500 hover:text-gray-900">{{
.Site.Title | markdownify
| emojify }}</a>
{{ end }}
</nav>
<nav class="hidden md:flex items-center space-x-5 md:ml-12 h-12">