diff --git a/config/filters/index.js b/config/filters/index.js index d90d0c2a..ed72482a 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -120,6 +120,7 @@ export default { const md = mdGenerator() let excerpt = '' let url = '' + let author let title = entry.title const feedNote = '

This is a full text feed, but not all content can be rendered perfectly within the feed. If something looks off, feel free to visit my site for the original post.

' @@ -128,7 +129,13 @@ export default { if (entry?.slug) url = new URL(entry.slug, BASE_URL).toString() if (entry?.link) { title = `${entry.title} via ${entry.authors.name}` - url = entry.link + url = entry.link, + author = { + name: entry.authors.name, + url: entry.authors.url, + mastodon: entry.authors?.mastodon || '', + rss: entry.authors?.rss_feed || '' + } } if (entry.description) excerpt = entry.description if (entry.type === 'book' || entry.type === 'movie' || entry.type === 'link') excerpt = `${entry.description}` @@ -142,7 +149,9 @@ export default { content: entry.description, date, excerpt, - rating: entry?.rating || '' + rating: entry?.rating || '', + tags: entry?.tags || '', + author }) }) return posts diff --git a/package-lock.json b/package-lock.json index 58144dfb..2f00382d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "21.9.4", + "version": "21.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "21.9.4", + "version": "21.10.0", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index ded5d311..ab5efc55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "21.9.4", + "version": "21.10.0", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/feed.xsl b/src/assets/styles/feed.xsl index faa161d8..80a16105 100644 --- a/src/assets/styles/feed.xsl +++ b/src/assets/styles/feed.xsl @@ -303,7 +303,7 @@

View more of the feeds from my site. Or subscribe by adding the URL below to your feed reader of choice.

-                  
+                  
                 


diff --git a/src/includes/base.liquid b/src/includes/base.liquid index 78275bcd..08bd4c9b 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -102,12 +102,11 @@ - - - - - - + + + + +