Skip to content
Snippets Groups Projects
Commit 1eb6a99e authored by chrissi^'s avatar chrissi^
Browse files

Firmware: More metadata parsing


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent 433c2aa1
Branches
No related tags found
No related merge requests found
branches: [beta, stable]
date: 2019-09-28
branches:
- name: v2019.1-ffbs-201909272234-stable
channel: stable
date: 2019-09-28
- name: v2019.1-ffbs-201909262250-beta
channel: beta
site: "https://gitli.stratum0.org/ffbs/ffbs-site/commit/82210db53b97480c8d763bf869da55ac17598f62"
gluon: "https://gitli.stratum0.org/ffbs/ffbs-gluon/tree/v2019.1-ffbs"
names: [v2019.1-ffbs-201909272234-stable, v2019.1-ffbs-201909262250-beta]
v2019.1-ffbs
......
......@@ -10,13 +10,29 @@
{% with contents=context.contents.filter(path__startswith="firmware/v").order_by("date") %}
{% for content in contents %}
<h2>{{content.content_title}}</h2>
{% if content.date is not none%}
<p>
<em>{{ content.date }}</em>
</p>
{% endif %}
{{content.content_body}}
<h2>{{content.content_title}}</h2>
{% if content.date is not none%}
<p>
<em>Freigegeben: {{ content.date }}</em>
</p>
{% endif %}
{% if content.branches is not none %}
<p>
{% with branches=content.branches %}
{% for branch in branches %}
Freigeben in {{ branch["channel"] }}
als <i>{{branch["name"]}}</i>{% if branch["date"] is defined %} am {{branch["date"]}}{% endif %}.<br>
{% endfor %}
{% endwith %}
{% if content.site is not none %}
<a href="{{content.site}}" ><i class="fas fa-code-branch"></i> Site</a><br>
{% endif %}
{% if content.gluon is not none %}
<a href="{{content.gluon}}" ><i class="fas fa-code-branch"></i> Gluon</a><br>
{% endif %}
</p>
{% endif %}
{{content.content_body}}
{% endfor %}
{% endwith %}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment