feat: caching headers

This commit is contained in:
2026-03-02 22:37:48 +01:00
parent 19fb5b9292
commit e689ab08c9
19 changed files with 292 additions and 55 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"
>