dynamically generate more content links
This commit is contained in:
parent
ff8401da49
commit
44451eb1b8
1 changed files with 7 additions and 9 deletions
|
@ -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 class="btn btn-primary btn-xl margin" href="/work/">
|
|
||||||
Work
|
|
||||||
</a>
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in a new issue