diff options
author | David Robillard <d@drobilla.net> | 2014-11-23 00:29:11 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-23 00:29:11 -0500 |
commit | 9839a49f36ee0b637b08b76e8ed5560409c9db3b (patch) | |
tree | a232b3860ab733b2fe9a6fd4555d4697299ce9a8 /themes/lv2/templates/categories.html | |
parent | 4e86fd59522c70b3654e5920a60ce748640f5a2c (diff) | |
download | lv2site-9839a49f36ee0b637b08b76e8ed5560409c9db3b.tar.xz |
Simplify theme.
Diffstat (limited to 'themes/lv2/templates/categories.html')
-rw-r--r-- | themes/lv2/templates/categories.html | 38 |
1 files changed, 5 insertions, 33 deletions
diff --git a/themes/lv2/templates/categories.html b/themes/lv2/templates/categories.html index 6898f97..4287079 100644 --- a/themes/lv2/templates/categories.html +++ b/themes/lv2/templates/categories.html @@ -1,36 +1,8 @@ {% extends "base.html" %} -{% block title %}Categories - {{ SITENAME }}{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - <ol class="breadcrumb"> - <li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li> - <li class="active">Categories</li> - </ol> - {% endif %} -{% endblock %} - {% block content %} - <section id="categories"> - <h1>All Categories for {{ SITENAME }}</h1> - <div class="panel-group" id="accordion"> - {% for category, articles in categories %} - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title"> - <a data-toggle="collapse" data-parent="#accordion" href="#collapse-{{category.slug}}">{{ category }} <span class="badge pull-right">{{ articles|count }}</span></a> - </h4> - </div> - <div id="collapse-{{category.slug}}" class="panel-collapse collapse"> - <div class="panel-body"> - {% for article in articles %} - <p><span class="categories-timestamp"><time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time></span> <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></p> - {% endfor %} - </div> - </div> - </div> - {% endfor %} - </div> - - </section> +<ul> + {% for category, articles in categories %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> + {% endfor %} +</ul> {% endblock %} |