summaryrefslogtreecommitdiff
path: root/project/templates/tags/library.html
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2021-02-05 11:21:30 +1100
committerJed Barber <jjbarber@y7mail.com>2021-02-05 11:21:30 +1100
commit9fd72ae4c4b852b94a2f3fdc760de81206a44857 (patch)
treefdcc9180ad6eed5fc89c212795abd6080996846e /project/templates/tags/library.html
parent22467d65f5454dd6b1719aafee50850a5ae96bf3 (diff)
Tagging system created
Diffstat (limited to 'project/templates/tags/library.html')
-rw-r--r--project/templates/tags/library.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/project/templates/tags/library.html b/project/templates/tags/library.html
new file mode 100644
index 0000000..86fd920
--- /dev/null
+++ b/project/templates/tags/library.html
@@ -0,0 +1,34 @@
+
+{% extends "base.html" %}
+
+
+
+{% block title %}Library Tag{% endblock %}
+
+
+
+{% block style %}
+ <link href="/css/index.css" rel="stylesheet">
+{% endblock %}
+
+
+
+{% block content %}
+
+<h4>Tag: Library</h4>
+
+<ul class="index">
+ {%- for item in articles -%}
+ {%- if 'library' 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 %}
+
+