1
0
Fork 0
forked from github/pelican

feat: add blog post word count

This commit is contained in:
Oliver Ladner 2025-07-08 10:51:34 +02:00
commit c0618e0a9c
11 changed files with 103 additions and 50 deletions

View file

@ -1,12 +1,11 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME|striptags }} - Archives{% endblock %}
{% block title %}Blog archive - {{ SITENAME|striptags }}{% endblock %}
{% block content %}
<div class="md:text-base lg:text-lg">
<h1 class="text-3xl md:text-5xl">Blog archive</h1>
<h1 class="text-3xl md:text-5xl">Blog post archive</h1>
<ul class="hyphens-auto list-outside list-disc">
{% for article in dates %}
{% set year = article.date.strftime('%Y') %}
{% if loop.first %}