diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-09-21 20:21:26 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-09-21 20:21:26 +1200 |
commit | fa5b90a9f8a69a5eb03a2aba02f4c985b7ab917a (patch) | |
tree | 881b91911e09549768012aee0b0f65c90b6a46e2 /project/templates/tags/language.html | |
parent | f5a52b94842cbb957d32c666feda76fcbf5336bf (diff) |
Added Sydney Rail Maps article
Diffstat (limited to 'project/templates/tags/language.html')
-rw-r--r-- | project/templates/tags/language.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/project/templates/tags/language.html b/project/templates/tags/language.html new file mode 100644 index 0000000..95339e5 --- /dev/null +++ b/project/templates/tags/language.html @@ -0,0 +1,34 @@ + +{% extends "base.html" %} + + + +{% block title %}Language Tag{% endblock %} + + + +{% block style %} + <link href="/css/index.css" rel="stylesheet" /> +{% endblock %} + + + +{% block content %} + +<h4>Tag: Language</h4> + +<ul class="index"> + {%- for item in articles -%} + {%- if 'language' 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 %} + + |