enh: show "Home" iff no logo

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

View file

@ -17,9 +17,11 @@
<div class="flex flex-1 items-center justify-between"> <div class="flex flex-1 items-center justify-between">
<nav class="flex space-x-3"> <nav class="flex space-x-3">
{{ if not .Site.Params.Logo }}
<a href="{{ "" | relLangURL }}" class="text-base font-medium text-gray-500 hover:text-gray-900">{{ <a href="{{ "" | relLangURL }}" class="text-base font-medium text-gray-500 hover:text-gray-900">{{
.Site.Title | markdownify .Site.Title | markdownify
| emojify }}</a> | emojify }}</a>
{{ end }}
</nav> </nav>