Adds author to front matter

This will likely need some configuration to enable it, I threw this
together at work but if there is intrest I can add that.
This commit is contained in:
Travis Fantina
2024-02-13 17:40:44 -08:00
committed by Will Boyd
parent 755f752019
commit 36cbf638aa
+4
View File
@@ -110,6 +110,10 @@ function getPostCoverImageId(postData) {
return id;
}
function getAuthor(post) {
return post.creator[0]
}
function collectAttachedImages(channelData) {
const images = getItemsOfType(channelData, 'attachment')
// filter to certain image file types