feat: caching headers
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user