summaryrefslogtreecommitdiff
path: root/project/templates/tags/mathematics.xhtml
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-11-26 20:17:43 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2021-11-26 20:17:43 +1300
commit14025d22ce3d66c9d235e57221ec4653e00f972c (patch)
treedac7c0f2cd22007aa1c396b460a1f2d90445a4d3 /project/templates/tags/mathematics.xhtml
parent03ea6ba48bfbb25dc74a0a369b5aa15bf10e91b9 (diff)
Switched to .xhtml extension, fixed some minor bugs
Diffstat (limited to 'project/templates/tags/mathematics.xhtml')
-rw-r--r--project/templates/tags/mathematics.xhtml32
1 files changed, 32 insertions, 0 deletions
diff --git a/project/templates/tags/mathematics.xhtml b/project/templates/tags/mathematics.xhtml
new file mode 100644
index 0000000..6d16264
--- /dev/null
+++ b/project/templates/tags/mathematics.xhtml
@@ -0,0 +1,32 @@
+
+{%- extends "base.xhtml" -%}
+
+
+
+{%- block title -%}Mathematics Tag{%- endblock -%}
+
+
+
+{%- block style %}
+ <link href="/css/index.css" rel="stylesheet" />
+{% endblock -%}
+
+
+
+{%- block content %}
+<h4>Tag: Mathematics</h4>
+
+<ul class="index">
+ {%- for item in articles -%}
+ {%- if 'mathematics' 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 -%}
+
+