rss fix
This commit is contained in:
parent
f47f61c8d1
commit
72798d74a2
1 changed files with 2 additions and 3 deletions
5
atom.xml
5
atom.xml
|
@ -7,12 +7,10 @@ layout: none
|
|||
<title>peachmoon.moe blog and updates</title>
|
||||
<description>site updates and blog posts by mana</description>
|
||||
<link>{{ site.url }}</link>
|
||||
|
||||
<!-- Combine blog posts and updates -->
|
||||
|
||||
{% assign all_posts = site.posts | concat: site.collections.updates.docs %}
|
||||
{% assign sorted_posts = all_posts | sort: 'date' %}
|
||||
|
||||
|
||||
{% for post in sorted_posts %}
|
||||
{% unless post.draft %}
|
||||
<item>
|
||||
|
@ -26,4 +24,5 @@ layout: none
|
|||
{% endunless %}
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
</rss>
|
Loading…
Add table
Reference in a new issue