site/_includes/news_contents.html in jekyll-2.0.3 vs site/_includes/news_contents.html in jekyll-2.1.0

- old
+ new

@@ -8,16 +8,26 @@ <a href="/news/releases/">Jekyll Releases</a> </li> </ul> <h4>Recent Releases</h4> <ul> - {% for post in site.posts limit:5 %} + {% for post in site.categories.release limit:5 %} <li class="{% if page.title == post.title %}current{% endif %}"> <a href="{{ post.url }}">Version {{ post.version }}</a> </li> {% endfor %} <li> <a href="/docs/history/">History ยป</a> </li> + </ul> + <h4>Other News</h4> + <ul> + {% for post in site.posts %} + {% unless post.categories contains 'release' %} + <li class="{% if page.title == post.title %}current{% endif %}"> + <a href="{{ post.url }}">{{ post.title }}</a> + </li> + {% endunless %} + {% endfor %} </ul> </aside> </div>