This commit is contained in:
Daniel 2025-06-11 16:36:58 +08:00
parent 341273169f
commit 9fc933f7bb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -360,7 +360,7 @@ func fillAttributeViewGalleryCardCover(attrView *av.AttributeView, view *av.View
break
}
if titleImgCss := node.IALAttr("title-img"); strings.HasPrefix(titleImgCss, "background:") {
if titleImgCss := node.IALAttr("title-img"); "" != titleImgCss {
galleryCard.CoverURL = titleImgCss
break
}