feat: link post support + style fixes + split post and link feeds
This commit is contained in:
parent
591269ae92
commit
21ab946b74
22 changed files with 113 additions and 99 deletions
|
@ -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(),
|
||||
|
|
Reference in a new issue