aboutsummaryrefslogtreecommitdiff
path: root/templates/section.html
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2024-03-29 01:42:38 -0500
committerChristian Cleberg <[email protected]>2024-03-29 01:42:38 -0500
commit4cd7447aced18a5469feae91886076507c0b9f0e (patch)
treea4733d553ce68f64277ffa3a52f800dc58ff72de /templates/section.html
parentb90b88ff1cb8ade86496fe072edac3cd27fe9463 (diff)
parent07c42d3ad17060131e822f5816d2057cd1753b1b (diff)
downloadcleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.tar.gz
cleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.tar.bz2
cleberg.net-4cd7447aced18a5469feae91886076507c0b9f0e.zip
merge org branch into main
Diffstat (limited to 'templates/section.html')
-rw-r--r--templates/section.html18
1 files changed, 0 insertions, 18 deletions
diff --git a/templates/section.html b/templates/section.html
deleted file mode 100644
index 184587b..0000000
--- a/templates/section.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-<h1>{{ section.title }}</h1>
-<p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p>
-<p>You can also add the <a href="/atom.xml">Atom RSS Feed</a> to your feed reader.</p>
-{% set post_date = "1970-01-01" | date(format="%Y") %}
-{% for page in section.pages %}
- {% if post_date != page.date | date(format="%Y") %}
- {% set_global post_date = page.date | date(format="%Y") %}
- <h2>{{ post_date }}</h2>
- {% endif %}
- <div class="post">
- <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time>
- <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
- </div>
-{% endfor %}
-{% endblock content %}