[Git][reproducible-builds/reproducible-website][master] Add reports to the homepage. (Closes: #16)
Chris Lamb
gitlab at salsa.debian.org
Fri Jun 21 08:35:58 UTC 2019
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
cdaaaaaa by Chris Lamb at 2019-06-21T08:35:35Z
Add reports to the homepage. (Closes: #16)
- - - - -
1 changed file:
- index.md
Changes:
=====================================
index.md
=====================================
@@ -80,14 +80,12 @@ Learn more about [how to make your software build reproducibly…]({{ "/docs" |
## News
<ul class="list-unstyled">
- {% assign by_week = site.blog | sort: "week" | reverse %}
- {% for page in by_week limit: 2 %}
- {% if page.published %}
+ {% assign reports = site.reports | sort: 'year, month' | where: 'draft', 'false' | reverse %}
+ {% for x in reports limit: 2 %}
<li>
- <span class="text-muted">{{ page.published | date: "%b %-d, %Y" }}</span>:
- <a href="{{ "/blog/posts/" | append: page.week | append: "/" | prepend: site.baseurl }}">Reproducible Builds: Weekly report #{{ page.week }}</a>
+ <span class="text-muted">{{ x.published | date: "%b %-d, %Y" }}</span>:
+ <a href="{{ x.url | prepend: site.baseurl }}">{{ x.title }}</a>
</li>
- {% endif %}
{% endfor %}
{% for post in site.posts limit: 3 %}
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/cdaaaaaa45af62c51b7c886248c34af6108ce86e
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/cdaaaaaa45af62c51b7c886248c34af6108ce86e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190621/a2be6960/attachment.html>
More information about the rb-commits
mailing list