From 21dfad4fcd852c47ccc7577357ca12c4804549e2 Mon Sep 17 00:00:00 2001 From: davegson <3080765+davegson@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:59:21 +0200 Subject: [PATCH] Loop through next.yml to render roadmap cards --- _includes/roadmap_card.html | 78 ++++++++----- roadmap/index.html | 226 ++++++++++++++++++------------------ 2 files changed, 165 insertions(+), 139 deletions(-) diff --git a/_includes/roadmap_card.html b/_includes/roadmap_card.html index 102ad07..a81fb7d 100644 --- a/_includes/roadmap_card.html +++ b/_includes/roadmap_card.html @@ -2,51 +2,74 @@
- -

-
- #866 opened by BinaryMuse to atom/github +
+ + {% if card.link %} + #866 opened by BinaryMuse to atom/github + {% endif %} +
- - - - + {% for member in card.team %} + {{ member }} + {% endfor %}
@@ -55,4 +78,3 @@
- \ No newline at end of file diff --git a/roadmap/index.html b/roadmap/index.html index 1ee90d2..d075ae2 100644 --- a/roadmap/index.html +++ b/roadmap/index.html @@ -5,129 +5,135 @@ layout: page
-
-
-
-
-
- 20.04.2020 -

- Monthly Progress -

-

- We find it very hard to say what the ufutre will be. So we have - created our own roadmap to show what we plan doing what we are working. -

-
- -
- -
-
-
-
-
- Recently Done - (3) -
- {% include roadmap_card.html %} - {% include roadmap_card.html %} -
-
+
+
+
+ 20.04.2020 +

+ Monthly Progress +

+

+ We find it very hard to say what the ufutre will be. So we have + created our own roadmap to show what we plan doing what we are working. +

-
+ + {% if site.data.next.cards.done.size > 0 %} +
+
+
+ Recently Done + ({{ site.data.next.cards.done.size }}) +
+ {% for card in site.data.next.cards.done %} + {% include roadmap_card.html state = 'done' %} + {% endfor %} +
+
+ {% endif %} + + {% if site.data.next.cards.in_progress.size > 0 %} +
+
+
+ In Progress + ({{ site.data.next.cards.in_progress.size }}) +
+ + {% for card in site.data.next.cards.in_progress %} + {% include roadmap_card.html state = 'in_progress' %} + {% endfor %} +
+
+ {% endif %} + + {% if site.data.next.cards.discarded.size > 0 %} +
+
+
+ Discarded + ({{ site.data.next.cards.discarded.size }}) +
+ + {% for card in site.data.next.cards.discarded %} + {% include roadmap_card.html state = 'discarded' %} + {% endfor %} +
+
+ {% endif %}
-
-
-
-
- -
-
-

- A list of stuff that we - plan to work on -

-

- Taking money always means opening up to influences. Therefore, we see it as our duty to not only be open about our ownership, but also about how we are financing this venture. -

- -
-
- - -