diff options
author | Jed Barber <jjbarber@y7mail.com> | 2021-02-05 11:21:30 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2021-02-05 11:21:30 +1100 |
commit | 9fd72ae4c4b852b94a2f3fdc760de81206a44857 (patch) | |
tree | fdcc9180ad6eed5fc89c212795abd6080996846e /project/templates/tags/esoteric.html | |
parent | 22467d65f5454dd6b1719aafee50850a5ae96bf3 (diff) |
Tagging system created
Diffstat (limited to 'project/templates/tags/esoteric.html')
-rw-r--r-- | project/templates/tags/esoteric.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/project/templates/tags/esoteric.html b/project/templates/tags/esoteric.html new file mode 100644 index 0000000..253f7cc --- /dev/null +++ b/project/templates/tags/esoteric.html @@ -0,0 +1,34 @@ + +{% extends "base.html" %} + + + +{% block title %}Esoteric Tag{% endblock %} + + + +{% block style %} + <link href="/css/index.css" rel="stylesheet"> +{% endblock %} + + + +{% block content %} + +<h4>Tag: Esoteric</h4> + +<ul class="index"> + {%- for item in articles -%} + {%- if 'esoteric' 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 %} + + |