From 1f7ecc3bd4fe4abe9c63fc69991de816138c1511 Mon Sep 17 00:00:00 2001 From: "Uwe Jandt (DESY)" <uwe.jandt@desy.de> Date: Wed, 17 Mar 2021 21:11:07 +0100 Subject: [PATCH] restrict news to 3 max --- _layouts/frontpage.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/frontpage.html b/_layouts/frontpage.html index 13204600d..74d43021e 100644 --- a/_layouts/frontpage.html +++ b/_layouts/frontpage.html @@ -25,7 +25,7 @@ </h1> <div class="flex-cards"> {%- assign posts = site.posts | where:"lang", site.default.lang -%} - {%- for post in posts limit:5 -%} + {%- for post in posts limit:3 -%} {%- assign post_translated = site.categories[page.lang] | where_exp: "item", "post.lang_ref == item.lang_ref" | first -%} {%- if forloop.index < 4 -%} {%- assign class="" -%} @@ -101,9 +101,9 @@ <div class="info-box"> <a href="{% link mission/documentation.md %}" class="btn btn-outline-primary"> - <h3><i class="fas fa-atom" aria-hidden="true"></i> Documentation</h3> + <h3><i class="fas fa-atom" aria-hidden="true"></i> HIFIS Documentation</h3> </a> - <p>See here for HIFIS Documentation and Policies. + <p>See here for HIFIS Technical and Administrative Documentation, as well as Policies. </p> </div> -- GitLab