1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-17 17:39:08 +00:00

Convert longer assign query to one-liner

might break GH pages
This commit is contained in:
davegson 2022-09-09 15:14:00 +02:00
parent 8f264cebff
commit 1336f1e1bc

View file

@ -16,11 +16,7 @@ layout: page
</p>
</div>
<div class="header-three-right">
{%
assign progress_posts = site.publications
| reverse
| where_exp: "item", "item.portmaster_update == true or item.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 %}
{% include thumbnail_blog.html pre_header="BLOG" %}
{% endfor %}