From 0cc580412c41beba7a21594f31ba1d355f38fcfe Mon Sep 17 00:00:00 2001 From: davegson <3080765+davegson@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:46:34 +0100 Subject: [PATCH] DRY up newest progress update --- .../2022-02-11-progress-update-january.md | 59 +------------------ 1 file changed, 1 insertion(+), 58 deletions(-) diff --git a/_publications/2022-02-11-progress-update-january.md b/_publications/2022-02-11-progress-update-january.md index 3cd1b7e..288987a 100644 --- a/_publications/2022-02-11-progress-update-january.md +++ b/_publications/2022-02-11-progress-update-january.md @@ -195,61 +195,4 @@ cards: discarded: --- - -<div> - {% if page.cards.done.size > 0 %} - <div class="pt-12"> - <div style="max-width: 750px; margin-top: 3rem; margin: auto;"> - <h3 >Completed</h3> - <p>A list of work packages we've fully wrapped up this month. Expand any to find out more about its conclusion.</p> - </div> - <div class="pt-10 blogwrapper"> - {% for card in page.cards.done %} - {% include project_tablecard.html state = 'done' %} - {% endfor %} - </div> - </div> - {% endif %} - - {% if page.cards.in_progress.size > 0 %} - <div class="pt-12"> - <div style="max-width: 750px; margin-top: 3rem; margin: auto;"> - <h3 >In Progress</h3> - <p>Expand any work package to find out more about its progress, obstacles and sub-achievements.</p> - </div> - <div class="pt-10 blogwrapper"> - {% for card in page.cards.in_progress %} - {% include project_tablecard.html state = 'in_progress' %} - {% endfor %} - </div> - </div> - {% endif %} - - {% if page.cards.discarded.size > 0 %} - <div class="pt-12"> - <div style="max-width: 750px; margin-top: 3rem; margin: auto;"> - <h3 >Discarded</h3> - <p>Work packages we for one reason or the other decided to discard. Click on a package to find out the exact reasons why.</p> - </div> - <div class="pt-10 blogwrapper"> - {% for card in page.cards.discarded %} - {% include project_tablecard.html state = 'discarded' %} - {% endfor %} - </div> - </div> - {% endif %} - - {% if page.cards.postponed.size > 0 %} - <div class="pt-12"> - <div style="max-width: 750px; margin-top: 3rem; margin: auto;"> - <h3 >Postponed</h3> - <p>Work packages we for one reason or the other decided to postpone. Click on a package to find out the exact reasons why.</p> - </div> - <div class="pt-10 blogwrapper"> - {% for card in page.cards.postponed %} - {% include project_tablecard.html state = 'postponed' %} - {% endfor %} - </div> - </div> - {% endif %} -</div> +{% include progress-update-tablecards.html %}