feat: link post support + style fixes + split post and link feeds

This commit is contained in:
Cory Dransfeldt 2023-09-19 10:42:51 -07:00
parent 591269ae92
commit 21ab946b74
No known key found for this signature in database
22 changed files with 113 additions and 99 deletions

View file

@ -13,7 +13,7 @@ module.exports = {
if (entry.description) excerpt = entry.description
// if there's a valid entry return a normalized object
if (entry) {
if (entry && !entry.data?.link) {
return {
title: entry.data?.title || entry.title,
url: entry.url.includes('http') ? entry.url : new URL(entry.url, BASE_URL).toString(),