summaryrefslogtreecommitdiffstats
path: root/blog/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'blog/_includes')
-rw-r--r--blog/_includes/news.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/blog/_includes/news.html b/blog/_includes/news.html
index f7983da..a8daaeb 100644
--- a/blog/_includes/news.html
+++ b/blog/_includes/news.html
@@ -1,6 +1,8 @@
<section id="news">
<h2>{% t home.latest_news %}</h2>
{% for p in site.posts limit: 5 %}
- {% include post-excerpt.html post=p %}
+ {% if p != page %}
+ {% include post-excerpt.html post=p %}
+ {% endif %}
{% endfor %}
</section>