summaryrefslogtreecommitdiff
path: root/rss.xml
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-28 08:04:28 +0200
committermayx <mayx@outlook.com>2025-04-28 08:04:28 +0200
commit29c6d57faa42212febb76c612d4d193a10f9d8bf (patch)
tree6f51a932aa70399aab083be2393f94352fa6e7cc /rss.xml
parentd01d9119def9ba4b5991272284b81d6077d018a0 (diff)
Update 3 files
- /feed.xslt.xml - /rss.xml - /feed.json
Diffstat (limited to 'rss.xml')
-rw-r--r--rss.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss.xml b/rss.xml
index 2af6378..84815bf 100644
--- a/rss.xml
+++ b/rss.xml
@@ -4,16 +4,16 @@
<?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?>
<rss version="2.0">
<channel>
- <title>{{ site.name | xml_escape }}</title>
+ <title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
- <link>{{ site.url }}</link>
+ <link>"{{ "/" | absolute_url }}"</link>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<language>{{ site.lang | default: "zh-CN" }}</language>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
{% if post.excerpt %}
- <description>{{ post.excerpt | xml_escape }}</description>
+ <description>{{ post.excerpt | strip_html | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}