diff options
author | mayx | 2025-04-28 06:04:28 +0000 |
---|---|---|
committer | mayx | 2025-04-28 06:04:28 +0000 |
commit | 29c6d57faa42212febb76c612d4d193a10f9d8bf (patch) | |
tree | 6f51a932aa70399aab083be2393f94352fa6e7cc /rss.xml | |
parent | d01d9119def9ba4b5991272284b81d6077d018a0 (diff) |
Update 3 files
- /feed.xslt.xml - /rss.xml - /feed.json
Diffstat (limited to 'rss.xml')
-rw-r--r-- | rss.xml | 6 |
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 %} |