rss fix
This commit is contained in:
parent
f47f61c8d1
commit
72798d74a2
1 changed files with 2 additions and 3 deletions
3
atom.xml
3
atom.xml
|
@ -8,11 +8,9 @@ layout: none
|
|||
<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>
|
||||
|
@ -27,3 +25,4 @@ layout: none
|
|||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
</rss>
|
Loading…
Add table
Reference in a new issue