diff options
Diffstat (limited to 'project/templates/tags')
-rw-r--r-- | project/templates/tags/language.html (renamed from project/templates/tags/languages.html) | 6 | ||||
-rw-r--r-- | project/templates/tags/maps.html | 34 | ||||
-rw-r--r-- | project/templates/tags/transport.html | 34 |
3 files changed, 71 insertions, 3 deletions
diff --git a/project/templates/tags/languages.html b/project/templates/tags/language.html index d680002..95339e5 100644 --- a/project/templates/tags/languages.html +++ b/project/templates/tags/language.html @@ -3,7 +3,7 @@ -{% block title %}Languages Tag{% endblock %} +{% block title %}Language Tag{% endblock %} @@ -15,11 +15,11 @@ {% block content %} -<h4>Tag: Languages</h4> +<h4>Tag: Language</h4> <ul class="index"> {%- for item in articles -%} - {%- if 'languages' in item.taglist -%} + {%- 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 /> diff --git a/project/templates/tags/maps.html b/project/templates/tags/maps.html new file mode 100644 index 0000000..a4adab9 --- /dev/null +++ b/project/templates/tags/maps.html @@ -0,0 +1,34 @@ + +{% extends "base.html" %} + + + +{% block title %}Maps Tag{% endblock %} + + + +{% block style %} + <link href="/css/index.css" rel="stylesheet" /> +{% endblock %} + + + +{% block content %} + +<h4>Tag: Maps</h4> + +<ul class="index"> + {%- for item in articles -%} + {%- if 'maps' 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 %} + + diff --git a/project/templates/tags/transport.html b/project/templates/tags/transport.html new file mode 100644 index 0000000..1a2c797 --- /dev/null +++ b/project/templates/tags/transport.html @@ -0,0 +1,34 @@ + +{% extends "base.html" %} + + + +{% block title %}Transport Tag{% endblock %} + + + +{% block style %} + <link href="/css/index.css" rel="stylesheet" /> +{% endblock %} + + + +{% block content %} + +<h4>Tag: Transport</h4> + +<ul class="index"> + {%- for item in articles -%} + {%- if 'transport' 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 %} + + |