summaryrefslogtreecommitdiff
path: root/project/templates/tags/binding.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'project/templates/tags/binding.xhtml')
-rw-r--r--project/templates/tags/binding.xhtml30
1 files changed, 4 insertions, 26 deletions
diff --git a/project/templates/tags/binding.xhtml b/project/templates/tags/binding.xhtml
index 794e595..b27a954 100644
--- a/project/templates/tags/binding.xhtml
+++ b/project/templates/tags/binding.xhtml
@@ -1,32 +1,10 @@
-{%- extends "base_plain.xhtml" -%}
+{%- extends "tags/base_tag.xhtml" -%}
-{%- block title -%}Binding Tag{%- endblock -%}
-
-
-
-{%- block style %}
- <link href="/css/index.css" rel="stylesheet" />
-{% endblock -%}
-
-
-
-{%- block content %}
-<h4>Tag: Binding</h4>
-
-<ul class="index">
- {%- for item in articles -%}
- {%- if 'binding' in item.taglist -%}
- {%- if item.updated -%}{%- set postclass = "update" -%}{%- else -%}{%- set postclass = "post" -%}{%- endif -%}
- {%- if item.updated -%}{%- set postverb = "Updated" -%}{%- else -%}{%- set postverb = "Posted" -%}{%- endif %}
- <li><a href="{{ item.anchor }}">{{ item.title }}</a><br />
- <span class="taglist">{{ item.taglist | join(", ") }}</span><br />
- <span class="{{ postclass }}">({{ postverb }} {{ item.postdate }})</span></li>
- {%- endif -%}
- {%- endfor %}
-</ul>
-{% endblock -%}
+{%- block title -%}{{ tag_title ("Binding") }}{%- endblock -%}
+{%- block content -%}{{ tag_content ("Binding") }}{%- endblock -%}
+{%- block footer -%}{{ tag_footer ("binding.xhtml") }}{%- endblock -%}