small improvements

This commit is contained in:
Nuno Coração
2024-03-10 16:46:05 +00:00
parent e9e1a9761b
commit 1676cc965f
4 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
</div>
{{ end }}
</div>
<div class="relative px-8 py-16 flex flex-col items-center justify-center text-center">
<div class="relative px-1 py-1 flex flex-col items-center justify-center text-center">
{{ with .Site.Author.image }}
{{ $authorImage := "" }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
+1 -1
View File
@@ -2,7 +2,7 @@
<article class="{{ if not .Site.Params.homepage.showRecent }}
h-full
{{ end }} flex flex-col items-center justify-center text-center">
<header class="flex flex-col items-center mb-3">
<header class="relative px-1 py-1 flex flex-col items-center mb-3">
{{ with .Site.Author.image }}
{{ $authorImage := "" }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}