chore: better resource loading
/ publish (push) Successful in 9m23s

This commit is contained in:
schreifuchs committed 2026-03-08 01:05:57 +01:00
1 parent eab7eb3879
commit 01b24f830f
11 files changed
+26 -13

No files matched your search

+5 -2
View File
@@ -55,8 +55,11 @@ func imageMiddleware(page PageHeader) func(w io.Writer, node ast.Node, entering
}
img.Attribute = &ast.Attribute{Attrs: map[string][]byte{
"srcset": []byte(images.SourceSet(src)),
"src": []byte(src),
"srcset": []byte(images.SourceSet(src)),
"fetchpriority": []byte("low"),
"loading": []byte("lazy"),
"class": []byte("min-h-48"),
"src": []byte(src),
}}
// // img.Attrs["srcset"] =