diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-12-02 12:51:25 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-12-02 12:51:25 +1300 |
commit | cbd62c2dfa9bd8d04480d67b557a6fc326e532ca (patch) | |
tree | 5c0f6ae3a6df610179f9222910f94430d9695211 /project/templates/tags/legal.xhtml | |
parent | 3112ecee11aa7f560848834a8475b3fb0b52fd79 (diff) |
Validator links no longer use referer, tag templates now use macros
Diffstat (limited to 'project/templates/tags/legal.xhtml')
-rw-r--r-- | project/templates/tags/legal.xhtml | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/project/templates/tags/legal.xhtml b/project/templates/tags/legal.xhtml index 1d97d7a..109e751 100644 --- a/project/templates/tags/legal.xhtml +++ b/project/templates/tags/legal.xhtml @@ -1,32 +1,10 @@ -{%- extends "base_plain.xhtml" -%} +{%- extends "tags/base_tag.xhtml" -%} -{%- block title -%}Legal Tag{%- endblock -%} - - - -{%- block style %} - <link href="/css/index.css" rel="stylesheet" /> -{% endblock -%} - - - -{%- block content %} -<h4>Tag: Legal</h4> - -<ul class="index"> - {%- for item in articles -%} - {%- if 'legal' 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 ("Legal") }}{%- endblock -%} +{%- block content %}{{ tag_content ("Legal") }}{% endblock -%} +{%- block footer -%}{{ tag_footer ("legal.xhtml") }}{%- endblock -%} |