chore: fix link feed output
This commit is contained in:
parent
1bb9d1782e
commit
f384ae9b39
4 changed files with 7 additions and 5 deletions
|
@ -23,7 +23,7 @@ module.exports = async function () {
|
|||
title: book['title'],
|
||||
url: book['link'],
|
||||
isbn: book['isbn'],
|
||||
description: book['book_description'],
|
||||
description: book['content'],
|
||||
dateAdded: book['user_date_added'],
|
||||
type: 'book',
|
||||
})
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
</image>
|
||||
{% for entry in entries limit: 20 -%}
|
||||
<item>
|
||||
<title>{{ entry.title | escape }}</title>
|
||||
<title>{{ entry.title }}</title>
|
||||
<link>{{ entry.url | stripUtm | encodeAmp }}</link>
|
||||
<pubDate>{{ entry.date | stringToDate | dateToRfc822 }}</pubDate>
|
||||
<guid>{{ entry.url | stripUtm | encodeAmp }}</guid>
|
||||
<description>{{ entry.excerpt | markdown | escape }}</description>
|
||||
<description>{{ entry.excerpt | escape }}</description>
|
||||
</item>
|
||||
{%- endfor %}
|
||||
</channel>
|
||||
|
|
Reference in a new issue