Skip to content

Commit

Permalink
[bug fix] show posts in feed.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Kanemoto committed Oct 7, 2016
1 parent b8db50d commit 038460b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion feed.xml
Expand Up @@ -10,7 +10,12 @@ layout: null
<link>{{ site.baseurl | prepend: site.url }}/</link>
<description>{{ site.description | xml_escape }}</description>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
{% assign posts = site.posts | where: 'hide', null %}
{% assign posts = '' | split: '' %}
{% for post in site.posts %}
{% if post.hide != true %}
{% assign posts = posts | push: post %}
{% endif %}
{% endfor %}
{% for post in posts limit:15 %}
{% include page-url-resolver.html page=post %}
<item>
Expand Down

0 comments on commit 038460b

Please sign in to comment.