summary refs log tree commit diff stats
path: root/templates/index.html
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/index.html
parent78096da0f478a0b11b77f365cedc855e7c680e14 (diff)
downloadwebsite-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.lz
website-6385a5f78ce2ad7409811927b10fc2b62e427643.tar.zst
website-6385a5f78ce2ad7409811927b10fc2b62e427643.zip
Extract theme from templates
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html36
1 files changed, 0 insertions, 36 deletions
diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 23ec4cd..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{% extends "base.html" %}
-
-{% block main %}
-<main class="h-card">
-  <h1 class="p-name">{{ config.title }}</h1>
-  {{ section.content | safe }}
-  <section>
-    <h2>Latest Posts</h2>
-    <ul class="h-feed">
-      {%- for page in section.pages | slice(end=3) %}
-        <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.path | safe }}">{{ page.title }}</a>
-        </li>
-      {%- endfor %}
-    </ul>
-  </section>
-  <section>
-    <h2>Elsewhere on the Internet</h2>
-    <ul>
-      {%- for item in config.extra.menu.contact %}
-        <li>
-          {%- if item.url is starting_with("mailto:") %}
-            <a href="{{ item.url | safe }}" class="u-email email" rel="me">{{ item.name }}</a>
-          {%- else %}
-            <a href="{{ item.url | safe }}" class="u-url url" rel="me">{{ item.name }}</a>
-          {%- endif %}
-        </li>
-      {%- endfor %}
-    </ul>
-  </section>
-  <footer>
-    GPG Key: <a href="{{ config.extra.gpg_url | safe }}" rel="u-key pgpkey">{{ config.extra.gpg_fingerprint }}</a>
-  </footer>
-</main>
-{% endblock %}