diff --git a/index.js b/index.js index ae7a392..f084e44 100644 --- a/index.js +++ b/index.js @@ -115,6 +115,9 @@ async function fetchAndHydrate(feed) { for (let item of contentFeed.items) { item.source_title = contentFeed.title item.source_link = contentFeed.link + if ('content:encoded' in item) { + item.content = item['content:encoded'] + } } console.log( `[fetchAndHydrate] Finished fetch feed: ${feed}. ${contentFeed.items.length} items gathered`, diff --git a/templates/list_posts.handlebars b/templates/list_posts.handlebars index f80d1ca..132340b 100644 --- a/templates/list_posts.handlebars +++ b/templates/list_posts.handlebars @@ -8,12 +8,24 @@ {{page_title}} - + + diff --git a/templates/list_posts.precompiled.js b/templates/list_posts.precompiled.js index e2820e5..34f9840 100644 --- a/templates/list_posts.precompiled.js +++ b/templates/list_posts.precompiled.js @@ -33,8 +33,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 49, column: 44 }, - end: { line: 49, column: 52 }, + start: { line: 61, column: 44 }, + end: { line: 61, column: 52 }, }, }) : helper), @@ -53,8 +53,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 49, column: 54 }, - end: { line: 49, column: 63 }, + start: { line: 61, column: 54 }, + end: { line: 61, column: 63 }, }, }) : helper), @@ -74,8 +74,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 51, column: 27 }, - end: { line: 51, column: 38 }, + start: { line: 63, column: 27 }, + end: { line: 63, column: 38 }, }, }) : helper), @@ -96,8 +96,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 52, column: 38 }, - end: { line: 52, column: 53 }, + start: { line: 64, column: 38 }, + end: { line: 64, column: 53 }, }, }) : helper), @@ -118,8 +118,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 52, column: 55 }, - end: { line: 52, column: 71 }, + start: { line: 64, column: 55 }, + end: { line: 64, column: 71 }, }, }) : helper), @@ -139,8 +139,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 55, column: 12 }, - end: { line: 55, column: 25 }, + start: { line: 67, column: 12 }, + end: { line: 67, column: 25 }, }, }) : helper)) != null @@ -179,8 +179,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 81, column: 23 }, - end: { line: 81, column: 31 }, + start: { line: 93, column: 23 }, + end: { line: 93, column: 31 }, }, }) : helper), @@ -199,8 +199,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 81, column: 33 }, - end: { line: 81, column: 41 }, + start: { line: 93, column: 33 }, + end: { line: 93, column: 41 }, }, }) : helper), @@ -290,7 +290,7 @@ templates['list_posts'] = template({ }) : helper), ) + - '" />\n \n \n \n \n\n\n\n