fix(gallery): config
This commit is contained in:
1 parent
c55e6bc43f
commit
9ca81d7f13
3 files changed
+7
-4
No files matched your search
@@ -11,7 +11,8 @@ templ GallerySet(g gallery.Set) {
|
||||
>
|
||||
for _,img := range g.SM.Images {
|
||||
<img
|
||||
src={ "/images/" + img.UID }
|
||||
src={ "/images/" + img.UID + "?w=600" }
|
||||
loading="lazy"
|
||||
class="w-full"
|
||||
alt="Gallery item"
|
||||
/>
|
||||
@@ -39,7 +40,8 @@ templ Gallery(g gallery.Gallery) {
|
||||
class="overflow-hidden shadow-sm"
|
||||
>
|
||||
<img
|
||||
src={ "/images/" + img.UID }
|
||||
src={ "/images/" + img.UID + "?w=800" }
|
||||
loading="lazy"
|
||||
class="w-full h-full object-cover"
|
||||
alt="Gallery item"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user