diff --git a/config/filters/index.js b/config/filters/index.js index bbf08906..35e62f36 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -141,6 +141,7 @@ export default { // feeds normalizeEntries: (entries) => { const posts = [] + if (!entries.length) return posts entries.forEach((entry) => { const dateKey = Object.keys(entry).find((key) => key.includes('date')) const date = new Date(entry[dateKey])