feat: caching headers

This commit is contained in:
2026-02-21 16:16:55 +01:00
parent 6c4b2190b3
commit 3f321f0836
21 changed files with 293 additions and 56 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ import (
templ Home(pages []page.PageHeader) {
for _, page := range pages {
@components.ImageTile("https://picsum.photos/1000/500") {
<a class="flex items-center justify-center h-full " href={ "/" + page.UID }>
@components.ImageTile("https://picsum.photos/" + page.CoverImageUID) {
<a class="flex items-center justify-center h-full " href={ "/" + page.UID } preload="mouseover">
<h2
class="text-3xl font-bold text-white hover:underline text-shadow-lg"
>