bug fix RSS and ATOM using func.render_md instead of showdown

This commit is contained in:
2025-08-27 16:36:21 +01:00
parent 9b5d3f3f73
commit b3ea048244
6 changed files with 100 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<entry>
<title><%= posts[postID]["title"] %></title>
<link><%= config.site_url %>/post/<%= postID %></link>
<summary><![CDATA[<%- converter.makeHtml(posts[postID]["content"]) %>]]></summary>
<summary><![CDATA[<%- func.render_md(posts[postID]["content"]) %>]]></summary>
<guid isPermaLink="true"><%= config.site_url %>/post/<%= postID %></guid>
<pubDate><%# func.unix_time_to_atom_date(posts[postID]['pubdate']) %></pubDate>
<% for (let tag_index = 0; tag_index < posts[postID]['tags'].length; tag_index++) { %>