commit d71b693ac47658fcf74a67fa162eb4e5dad9a10a Author: Pili Guerra pili@piliguerra.com Date: Thu Jun 13 10:37:45 2019 +0200
Fix issues with page key --- content/training/resources/contents.lr | 3 +++ templates/training.html | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/content/training/resources/contents.lr b/content/training/resources/contents.lr index 58a6907..c453189 100644 --- a/content/training/resources/contents.lr +++ b/content/training/resources/contents.lr @@ -10,10 +10,13 @@ title: Training Resources --- subtitle: Do you teach your community about using Tor? These resources are for you. --- +cta: Check out our resources +--- key: 2 --- html: resources.html --- body:
+##Resources Do you teach your community about using Tor? These training resources are for you. \ No newline at end of file diff --git a/templates/training.html b/templates/training.html index 65c7187..e843b1b 100644 --- a/templates/training.html +++ b/templates/training.html @@ -8,8 +8,7 @@ </div> </div> <div class="row py-5"> - {% for child in this.children|sort(attribute='key') %} - {% if child.key != '0' %} + {% for child in this.children %} <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4"> <div class="card h-100 border-0"> <div class="card-body"> @@ -20,7 +19,6 @@ </div> </div> </div> - {% endif %} {% endfor %} </div> <div class="row py-5 text-center mx-auto">
tor-commits@lists.torproject.org