updated deprecated configs

This commit is contained in:
Nuno Coração
2023-06-05 22:42:37 +01:00
parent 3b2bf23b00
commit 9f741eb71d
5 changed files with 63 additions and 44 deletions

View File

@@ -4,7 +4,7 @@
{{ $logo := resources.Get .Site.Params.Logo }}
{{ if $logo }}
<div>
<a href="{{ "" | relLangURL }}" class="flex">
<a href="{{ "" | relLangURL }}" class="flex h-12">
<span class="sr-only">{{ .Site.Title | markdownify | emojify }}</span>
<img src="{{ $logo.RelPermalink }}" width="{{ div $logo.Width 2 }}" height="{{ div $logo.Height 2 }}"
@@ -23,7 +23,7 @@
</nav>
<nav class="hidden md:flex items-center space-x-5 md:ml-12">
<nav class="hidden md:flex items-center space-x-5 md:ml-12 h-12">
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
@@ -34,7 +34,7 @@
{{ partial "translations.html" . }}
{{ if .Site.Params.enableSearch | default false }}
<button id="search-button" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
<button id="search-button" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400 h-12"
title="{{ i18n " search.open_button_title" }}">
{{ partial "icon.html" "search" }}
</button>