Add labels to posts
This commit is contained in:
@@ -32,7 +32,8 @@ struct FeedEntry {
|
||||
if let title = data.title {
|
||||
result += "<h2>\(title.htmlEscaped())</h2>"
|
||||
}
|
||||
result += TagList(tags: data.tags).content
|
||||
TagList(tags: data.tags).populate(&result)
|
||||
ContentLabels(labels: data.labels).populate(&result)
|
||||
|
||||
for paragraph in data.text {
|
||||
result += "<p>\(paragraph)</p>"
|
||||
|
Reference in New Issue
Block a user