diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-07-28 19:46:20 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-07-28 19:46:20 -0500 |
commit | 2be43cc479dfd4cfb621f14381330c708291e324 (patch) | |
tree | 7ac50f99425c5524c0820360754045b80d1bafcc /templates/blog.html | |
parent | afe76ac7d7498b862abaa623790b91410e34574d (diff) | |
download | cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.gz cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.bz2 cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.zip |
conversion from Zola to Weblorg
Diffstat (limited to 'templates/blog.html')
-rw-r--r-- | templates/blog.html | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/templates/blog.html b/templates/blog.html deleted file mode 100644 index 5b1f301..0000000 --- a/templates/blog.html +++ /dev/null @@ -1,20 +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 %} |