Skip to content
Snippets Groups Projects
Commit 1f7ecc3b authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

restrict news to 3 max

parent b01b5831
No related branches found
No related tags found
2 merge requests!203WIP: Test MR,!177HIFIS unified step 1
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</h1> </h1>
<div class="flex-cards"> <div class="flex-cards">
{%- assign posts = site.posts | where:"lang", site.default.lang -%} {%- 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 -%} {%- assign post_translated = site.categories[page.lang] | where_exp: "item", "post.lang_ref == item.lang_ref" | first -%}
{%- if forloop.index < 4 -%} {%- if forloop.index < 4 -%}
{%- assign class="" -%} {%- assign class="" -%}
...@@ -101,9 +101,9 @@ ...@@ -101,9 +101,9 @@
<div class="info-box"> <div class="info-box">
<a href="{% link mission/documentation.md %}" class="btn btn-outline-primary"> <a href="{% link mission/documentation.md %}" class="btn btn-outline-primary">
<h3><i class="fas fa-atom" aria-hidden="true"></i>&nbsp; Documentation</h3> <h3><i class="fas fa-atom" aria-hidden="true"></i>&nbsp; HIFIS Documentation</h3>
</a> </a>
<p>See here for HIFIS Documentation and Policies. <p>See here for HIFIS Technical and Administrative Documentation, as well as Policies.
</p> </p>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment