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> </p>
</div> </div>
<div class="header-three-right"> <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 %} {% for post in progress_posts limit: 1 %}
{% include thumbnail_blog.html pre_header="BLOG" %} {% include thumbnail_blog.html pre_header="BLOG" %}
{% endfor %} {% endfor %}