Commit d71b693a authored by Pili Guerra's avatar Pili Guerra
Browse files

Fix issues with page key

parent f0a6a864
...@@ -10,10 +10,13 @@ title: Training Resources ...@@ -10,10 +10,13 @@ title: Training Resources
--- ---
subtitle: Do you teach your community about using Tor? These resources are for you. subtitle: Do you teach your community about using Tor? These resources are for you.
--- ---
cta: Check out our resources
---
key: 2 key: 2
--- ---
html: resources.html html: resources.html
--- ---
body: body:
##Resources
Do you teach your community about using Tor? These training resources are for you. Do you teach your community about using Tor? These training resources are for you.
\ No newline at end of file
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
</div> </div>
</div> </div>
<div class="row py-5"> <div class="row py-5">
{% for child in this.children|sort(attribute='key') %} {% for child in this.children %}
{% if child.key != '0' %}
<div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4"> <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 h-100 border-0">
<div class="card-body"> <div class="card-body">
...@@ -20,7 +19,6 @@ ...@@ -20,7 +19,6 @@
</div> </div>
</div> </div>
</div> </div>
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
<div class="row py-5 text-center mx-auto"> <div class="row py-5 text-center mx-auto">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment