fix: consistency
This commit is contained in:
parent
d5279c5c8b
commit
42ea508d46
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ export default {
|
|||
// set the entry excerpt
|
||||
if (entry.description) excerpt = entry.description // general case
|
||||
if (entry?.data?.description) excerpt = `${entry?.data?.description}<br/><br/>` // links where description is stored in frontmatter
|
||||
if (entry.type === 'book') excerpt = `${entry.description}<br/><br/>` // books
|
||||
if (entry.type === 'book' || entry.type === 'movie') excerpt = `${entry.description}<br/><br/>` // books
|
||||
|
||||
// send full post content to rss
|
||||
if (entry.content) excerpt = sanitizeHtml(`${entry.content}${feedNote}`, {
|
||||
|
|
Reference in a new issue