1
Fork 0

dynamically generate more content links

This commit is contained in:
Jake Howard 2017-01-23 09:20:01 +00:00
parent ff8401da49
commit 44451eb1b8

View file

@ -117,15 +117,13 @@
<h2 class="section-heading">More Content</h2> <h2 class="section-heading">More Content</h2>
<hr class="primary"> <hr class="primary">
<p>There's more than just my project and blog!</p> <p>There's more than just my project and blog!</p>
<a class="btn btn-primary btn-xl margin" href="/college/"> {% for category, articles in categories %}
College {% if category.name not in ['blog', 'projects'] %}
</a> <a class="btn btn-primary btn-xl margin" href="{{ category.url }}">
<a class="btn btn-primary btn-xl margin" href="/setup/"> {{ category|get_title }}
Setup </a>
</a> {% endif %}
<a class="btn btn-primary btn-xl margin" href="/work/"> {% endfor %}
Work
</a>
</div> </div>
</section> </section>
</body> </body>