Fix progress update links on next/backlog pages

This commit is contained in:
davegson 2021-04-02 16:08:27 +02:00
parent ea60153f93
commit 7608359c24
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ layout: page
</p>
</div>
<div class="relative mt-24 lg:mt-0 lg:absolute lg:right-0 lg:mr-10">
{% assign progress_posts = site.posts | where: "progress_update", "true" %}
{% assign progress_posts = site.publications | reverse | where: "progress_update", "true" %}
{% for post in progress_posts limit: 1 %}
{% include thumbnail_blog.html pre_header="BLOG" %}
{% endfor %}

View file

@ -19,7 +19,7 @@ layout: page
</div>
<div class="relative mt-24 lg:mt-0 lg:absolute lg:right-0 lg:mr-10">
<span class="text-sm opacity-55 tracking-normal absolute w-full text-center lg:text-left " style="margin-top: -1.8rem;">Latest</span>
{% assign progress_posts = site.posts | where: "progress_update", "true" %}
{% assign progress_posts = site.publications | reverse | where: "progress_update", "true" %}
{% for post in progress_posts limit: 1 %}
{% include thumbnail_blog.html pre_header="BLOG" %}
{% endfor %}