Skip to content

Commit

Permalink
Update appcast.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzzM authored Dec 3, 2023
1 parent 936b2a3 commit 5a06e5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/appcast.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% for release in site.github.releases %}
{% unless release.draft %}
{% unless release.prerelease and page.release_only %}
{% assign flag = '<?' %}
{% assign flag = '<!--' %}
{% if release.body contains flag %}
<item>
<title>{{ release.name }}</title>
Expand All @@ -14,12 +14,12 @@
{% assign body = release.body | split:flag %}
{% assign description = body.first | strip %}
<description xml:lang="en"><![CDATA[{{ description | markdownify }}]]></description>

{% if body.size > 2 %}
{% assign description_zh = body[1] | strip %}
<description xml:lang="zh-Hans"><![CDATA[{{ description_zh | markdownify }}]]></description>
{% endif %}

{% assign enclosure = body.last | strip %}
{{ enclosure }}
</item>
Expand Down

0 comments on commit 5a06e5a

Please sign in to comment.