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>
|
||||
<hr class="primary">
|
||||
<p>There's more than just my project and blog!</p>
|
||||
<a class="btn btn-primary btn-xl margin" href="/college/">
|
||||
College
|
||||
</a>
|
||||
<a class="btn btn-primary btn-xl margin" href="/setup/">
|
||||
Setup
|
||||
</a>
|
||||
<a class="btn btn-primary btn-xl margin" href="/work/">
|
||||
Work
|
||||
{% for category, articles in categories %}
|
||||
{% if category.name not in ['blog', 'projects'] %}
|
||||
<a class="btn btn-primary btn-xl margin" href="{{ category.url }}">
|
||||
{{ category|get_title }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
|
|
Reference in a new issue