about summary refs log tree commit diff stats
path: root/templates/tags
diff options
context:
space:
mode:
authorAlan Pearce2020-11-15 13:14:37 +0100
committerAlan Pearce2020-11-15 13:15:31 +0100
commit6385a5f78ce2ad7409811927b10fc2b62e427643 (patch)
tree557406eaea728d84f82e852ada8fd97199d1a709 /templates/tags
parent78096da0f478a0b11b77f365cedc855e7c680e14 (diff)
downloadwebsite-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.lz
website-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.zst
website-6385a5f78ce2ad7409811927b10fc2b62e427643.zip
Extract theme from templates
Diffstat (limited to 'templates/tags')
-rw-r--r--templates/tags/list.html18
-rw-r--r--templates/tags/single.html25
2 files changed, 0 insertions, 43 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html
deleted file mode 100644
index ee60c39..0000000
--- a/templates/tags/list.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}{{ taxonomy.name | capitalize }}{% endblock %}
-
-{% block main %}
-<main>
-  <h1>{{ taxonomy.name | capitalize }}</h1>
-  <section>
-    <ul>
-      {%- for term in terms %}
-        <li>
-          <a href="{{ term.permalink }}">{{ term.name }}</a>
-        </li>
-      {%- endfor %}
-    </ul>
-  </section>
-</main>
-{% endblock %}
diff --git a/templates/tags/single.html b/templates/tags/single.html
deleted file mode 100644
index 25dde54..0000000
--- a/templates/tags/single.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends "base.html" %}
-
-{% block rss %}
-  {% set rss_path = "tags/" ~ term.name ~ "/atom.xml" %}
-  <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path=rss_path, trailing_slash=false) | safe }}">
-
-{% endblock %}
-
-{% block title %}{{ taxonomy.name | capitalize }}: {{ term.name }} | {{ config.title }}{% endblock %}
-
-{% block main %}
-<main>
-  <h1>{{ taxonomy.name | capitalize }}: {{ term.name }}</h1>
-  <section>
-    <ul class="h-feed">
-      {%- for page in term.pages %}
-        <li class="h-entry">
-          <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
-          <a class="u-url p-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
-        </li>
-      {%- endfor %}
-    </ul>
-  </section>
-</main>
-{% endblock %}