summaryrefslogtreecommitdiffstats
path: root/themes/lv2/templates/tags.html
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-21 01:12:26 -0500
committerDavid Robillard <d@drobilla.net>2014-11-21 01:12:26 -0500
commitd38c4094a1aef8be93218adeefe66b20308d96e3 (patch)
tree7f1d451dd1edade63567504c67b61bbc24d7c683 /themes/lv2/templates/tags.html
downloadlv2site-d38c4094a1aef8be93218adeefe66b20308d96e3.tar.xz
Initial website Markdown conversion.
Diffstat (limited to 'themes/lv2/templates/tags.html')
-rw-r--r--themes/lv2/templates/tags.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/lv2/templates/tags.html b/themes/lv2/templates/tags.html
new file mode 100644
index 0000000..3f29a36
--- /dev/null
+++ b/themes/lv2/templates/tags.html
@@ -0,0 +1,37 @@
+{% extends "base.html" %}
+
+{% block title %}Tags - {{ 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">Tags</li>
+ </ol>
+ {% endif %}
+{% endblock %}
+
+{% block content %}
+ <section id="tags">
+ <h1>Tags for {{ SITENAME }}</h1>
+ <div class="panel-group" id="accordion">
+ {%- for tag, articles in tags|sort %}
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h4 class="panel-title">
+ <a data-toggle="collapse" data-parent="#accordion" href="#collapse-{{tag.slug}}">{{ tag }} <span class="badge pull-right">{{ articles|count }}</span></a>
+ </h4>
+ </div>
+ <div id="collapse-{{tag.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>
+{% endblock %}