浏览代码

Implements list of tags template

Talha Mansoor 11 年之前
父节点
当前提交
315eda388d
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      templates/tags.html

+ 24 - 0
templates/tags.html

@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block title %}
+All Tags - {{ super() }}
+{% endblock title %}
+
+{% block content %}
+<div class="row-fluid">
+    <header class="page_header span7 offset3">
+    <h1>All Tags</h1>
+    </header>
+</div>
+
+
+<div class="row-fluid">
+    <div class="span7 offset3">
+        <ul>
+            {% for tag, articles in tags %}
+            <li>{{ articles|count }} articles in <a href="{{ SITEURL }}/{{ tag.url }}">{{  }}</a></li>
+            {% endfor %}
+        </ul>
+    </div>
+</div>
+{% endblock content %}