Grab last progress update post OR release post

This commit is contained in:
davegson 2022-09-09 13:00:28 +02:00
parent 56d9218138
commit ea046e0050

View file

@ -16,7 +16,11 @@ layout: page
</p> </p>
</div> </div>
<div class="header-three-right"> <div class="header-three-right">
{% assign progress_posts = site.publications | reverse | where: "progress_update", "true" %} {%
assign progress_posts = site.publications
| reverse
| where_exp: "item", "item.portmaster_update == true or item.progress_update == true"
%}
{% for post in progress_posts limit: 1 %} {% for post in progress_posts limit: 1 %}
{% include thumbnail_blog.html pre_header="BLOG" %} {% include thumbnail_blog.html pre_header="BLOG" %}
{% endfor %} {% endfor %}
@ -56,8 +60,8 @@ layout: page
<p class="collection-container-top-desc"> <p class="collection-container-top-desc">
Being in progress does not imply the project will be Being in progress does not imply the project will be
completed soon. Plenty will take a while a few completed soon. Plenty will take a while a few
might even get discarded. Read the monthly blog updates might even get discarded. Read the progress and release blog posts
to follow the progress and conclusion of every project. to follow the development and conclusion of every project.
</p> </p>
</div> </div>
<div class="collection-container-bottom"> <div class="collection-container-bottom">