[Git][reproducible-builds/reproducible-website][master] add /news-archive
Holger Levsen
gitlab at salsa.debian.org
Mon Sep 23 13:55:48 UTC 2019
Holger Levsen pushed to branch master at Reproducible Builds / reproducible-website
Commits:
f64c772e by Holger Levsen at 2019-09-23T13:55:35Z
add /news-archive
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- index.md
- + news-archive.md
- news.md
Changes:
=====================================
index.md
=====================================
@@ -89,7 +89,7 @@ Learn more about [how to make your software build reproducibly…]({{ "/docs" |
{% endfor %}
</ul>
-([See all]({{ "/news/" | prepend: site.baseurl }}))
+([See all]({{ "/news/" | prepend: site.baseurl }}).)
## Recent news
@@ -102,7 +102,7 @@ Learn more about [how to make your software build reproducibly…]({{ "/docs" |
{% endfor %}
</ul>
-([See all]({{ "/news/" | prepend: site.baseurl }}))
+([See all]({{ "/news/" | prepend: site.baseurl }}).)
<br>
=====================================
news-archive.md
=====================================
@@ -0,0 +1,18 @@
+---
+layout: default
+title: News archive
+permalink: /news-archive/
+---
+
+# News archive
+
+<ul class="list-unstyled">
+ {% for post in site.posts %}
+ <li>
+ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
+ <small class="text-muted">{{ post.date | date: "%b %-d, %Y" }}</small>
+ </li>
+ {% endfor %}
+</ul>
+
+
=====================================
news.md
=====================================
@@ -8,13 +8,14 @@ order: 5
# News
<ul class="list-unstyled">
- {% for post in site.posts %}
+ {% for post in site.posts limit: 7 %}
<li>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<small class="text-muted">{{ post.date | date: "%b %-d, %Y" }}</small>
</li>
{% endfor %}
</ul>
+(See all news in the [news archive]({{ "/news-archive/" | prepend: site.baseurl }}).)
## Reports
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/f64c772e8c8d01cb54729a438729a0f9767da31c
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/f64c772e8c8d01cb54729a438729a0f9767da31c
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/20190923/3187dff2/attachment.html>
More information about the rb-commits
mailing list