[Git][reproducible-builds/reproducible-website][master] Drop conditionals for published reports for now; does not work in stable.

Chris Lamb gitlab at salsa.debian.org
Wed Apr 17 13:02:49 CEST 2019



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
b76dc568 by Chris Lamb at 2019-04-17T11:02:35Z
Drop conditionals for published reports for now; does not work in stable.

- - - - -


2 changed files:

- blog/index.rss
- reports.md


Changes:

=====================================
blog/index.rss
=====================================
@@ -12,18 +12,6 @@ layout: null
     <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
     <generator>Jekyll v{{ jekyll.version }}</generator>
 
-    {% assign reports = site.reports | sort: 'year,month' | where_exp: 'item', 'item.published' | reverse %}
-
-    {% for x in reports limit:10 %}
-      <item>
-        <title>{{ x.title }}</title>
-        <pubDate>{{ x.published }}</pubDate>
-        <link>{{ x.url | prepend: site.url }}</link>
-        <guid isPermaLink="true">{{ x.url | prepend: site.url }}</guid>
-        <description>{{ x.content | xml_escape }}</description>
-      </item>
-    {% endfor %}
-
     {% assign posts = site.blog | sort: 'published' | where_exp: 'item', 'item.published' | reverse %}
     {% for x in posts limit:10 %}
       <item>


=====================================
reports.md
=====================================
@@ -5,22 +5,6 @@ permalink: /reports/
 order: 6
 ---
 
-{% assign reports = site.reports | sort: 'year,month' | where_exp: 'item', 'item.published' | reverse %}
-
-{% if reports.size > 0 %}
-
-# Reports
-Every month we publish a report on what we have been up to. ([RSS/Atom feed]({{ "/blog/index.rss" | prepend: site.baseurl }}))
-
-{% for x in reports %}
-* [{{ x.title }}]({{ x.url | prepend: site.baseurl }})
-{% endfor %}
-
-## Weekly reports
-
-We previously published weekly reports on what we have been up to:
-{% else %}
-
 # Blog
 
 Every week we publish a weekly report on what we have been up to. ([RSS/Atom feed]({{ "/blog/index.rss" | prepend: site.baseurl }}))
@@ -31,4 +15,3 @@ Every week we publish a weekly report on what we have been up to. ([RSS/Atom fee
 
 {% for x in posts %}
 * [Week {{ x.week }}]({{ x.url | prepend: site.baseurl }})
-{% endfor %}



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b76dc568f80a938f89f2dfa5356dc2902ac31262

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b76dc568f80a938f89f2dfa5356dc2902ac31262
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/20190417/87db794e/attachment.html>


More information about the rb-commits mailing list