aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2017-10-12 19:03:09 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2017-10-12 19:03:09 +0200
commit9b2f40e5baaaec3519c5858db2cb2d835679199b (patch)
tree6f7495906b9225d83257617583fd4c06a6e070d1 /_includes/frontpage
parentAdd a git submodule for GLEPs (diff)
downloadwww-9b2f40e5baaaec3519c5858db2cb2d835679199b.tar.gz
www-9b2f40e5baaaec3519c5858db2cb2d835679199b.tar.bz2
www-9b2f40e5baaaec3519c5858db2cb2d835679199b.zip
Only show 2 news items on the frontpage
Diffstat (limited to '_includes/frontpage')
-rw-r--r--_includes/frontpage/news4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/frontpage/news b/_includes/frontpage/news
index 73bcdc4..903df25 100644
--- a/_includes/frontpage/news
+++ b/_includes/frontpage/news
@@ -1,5 +1,5 @@
<section id="news">
- {% for post in site.posts | limit: 3 %}
+ {% for post in site.posts | limit: 2 %}
<article class="newsitem">
<h2 class="stick-top newsitem-bullet">
<span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span>
@@ -18,4 +18,4 @@
</div>
</article>
{% endfor %}
-</section> \ No newline at end of file
+</section>