Simplify images, tag overview
This commit is contained in:
@@ -14,8 +14,7 @@ struct FeedEntry {
|
||||
|
||||
var content: String {
|
||||
var result = "<article><div class='card\(cardLinkClassText)'>"
|
||||
ImageGallery(id: data.entryId, images: data.images)
|
||||
.addContent(to: &result)
|
||||
ImageGallery(id: data.entryId, images: data.images).populate(&result)
|
||||
|
||||
if let url = data.link?.url {
|
||||
result += "<div class='card-content' onclick=\"window.location.href='\(url)'\">"
|
||||
|
Reference in New Issue
Block a user