Skip to content

Commit 3fe481b

Browse files
authored
Merge pull request #568 from SethTisue/fix-recently-section
keep download pages out of "What's New"
2 parents 98ff732 + 6521cf8 commit 3fe481b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/news-feed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2 class="recently">Recently...</h2>
4343
{% assign maxCount = 3 %}
4444
{% assign count = 0 %}
4545
{% for p in site.posts %}
46-
{% if p.category != "event" and p.title != firstTitle and count < maxCount %}
46+
{% if p.category != "event" and p.post-type and p.title != firstTitle and count < maxCount %}
4747
{% assign count = count | plus: 1 %}
4848
{% if forloop.first %}
4949
{% comment %} DO NOTHING {% endcomment %}
@@ -81,4 +81,4 @@ <h2 class="recently">Recently...</h2>
8181
or
8282
<a class="archive-btn" href="{{ site.baseurl }}/blog/" title="News archive">Blog</a>
8383
</div>
84-
</div>
84+
</div>

0 commit comments

Comments
 (0)