We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98ff732 + 6521cf8 commit 3fe481bCopy full SHA for 3fe481b
_includes/news-feed.html
@@ -43,7 +43,7 @@ <h2 class="recently">Recently...</h2>
43
{% assign maxCount = 3 %}
44
{% assign count = 0 %}
45
{% for p in site.posts %}
46
- {% if p.category != "event" and p.title != firstTitle and count < maxCount %}
+ {% if p.category != "event" and p.post-type and p.title != firstTitle and count < maxCount %}
47
{% assign count = count | plus: 1 %}
48
{% if forloop.first %}
49
{% comment %} DO NOTHING {% endcomment %}
@@ -81,4 +81,4 @@ <h2 class="recently">Recently...</h2>
81
or
82
<a class="archive-btn" href="{{ site.baseurl }}/blog/" title="News archive">Blog</a>
83
</div>
84
-</div>
+</div>
0 commit comments