styled feed; bug fixes
This commit is contained in:
parent
18927e73ea
commit
9b17dc6d18
9 changed files with 143 additions and 3 deletions
6
config/rssLastUpdated.js
Normal file
6
config/rssLastUpdated.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
const { DateTime } = require('luxon')
|
||||
|
||||
module.exports = (collection) => {
|
||||
if (!collection || !collection.length) return ''
|
||||
return collection[0].publishedAt
|
||||
}
|
Reference in a new issue