diff --git a/config/mediaFilters.js b/config/mediaFilters.js index 5e1a7da7..60f2105e 100644 --- a/config/mediaFilters.js +++ b/config/mediaFilters.js @@ -18,7 +18,7 @@ module.exports = { if (item.type === 'book') normalized['alt'] = item['title'] if (item.type === 'movie') { normalized['title'] = item['title'] - normalized['alt'] = `${item['title']} - ${item['summary']}` + normalized['alt'] = `${item['title']} - ${item['description']}` } if (item.type === 'tv') { normalized['title'] = item['title'] diff --git a/src/_data/articles.js b/src/_data/articles.js index 9bda9a3c..7e892f8f 100644 --- a/src/_data/articles.js +++ b/src/_data/articles.js @@ -13,7 +13,7 @@ module.exports = async function () { return { title: item['title'], date: item['pubDate'], - summary: item['description'], + description: item['contentSnippet'], url: item['link'], id: item['guid'], type: 'article', diff --git a/src/_data/movies.js b/src/_data/movies.js index 5a062e8b..9f50ef32 100644 --- a/src/_data/movies.js +++ b/src/_data/movies.js @@ -15,7 +15,7 @@ module.exports = async function () { return { title: item['title'], date: item['pubDate'], - summary: item['contentSnippet'], + description: item['contentSnippet'], image: images.length ? images .map((image) => image.replace(/.*src="([^"]*)".*/, '$1'))[0]