diff options
author | Jed Barber <jjbarber@y7mail.com> | 2021-02-05 17:24:33 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2021-02-05 17:24:33 +1100 |
commit | 3a1a7a4d62dce554436aa8c23e980204a481c7b4 (patch) | |
tree | 1879cb529eea1b8cadca5885958c4cd3163cb0b3 /project/templates/tags/compsci.html | |
parent | 9fd72ae4c4b852b94a2f3fdc760de81206a44857 (diff) |
Added compsci tag
Diffstat (limited to 'project/templates/tags/compsci.html')
-rw-r--r-- | project/templates/tags/compsci.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/project/templates/tags/compsci.html b/project/templates/tags/compsci.html new file mode 100644 index 0000000..c39f7f1 --- /dev/null +++ b/project/templates/tags/compsci.html @@ -0,0 +1,34 @@ + +{% extends "base.html" %} + + + +{% block title %}Compsci Tag{% endblock %} + + + +{% block style %} + <link href="/css/index.css" rel="stylesheet"> +{% endblock %} + + + +{% block content %} + +<h4>Tag: Compsci</h4> + +<ul class="index"> + {%- for item in articles -%} + {%- if 'compsci' 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 %} + + |