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,13 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME|striptags }} - Authors{% endblock %}
{% block title %}Authors - {{ SITENAME|striptags }}{% endblock %}
{% block content %}
<h1 class="text-3xl md:text-5xl">Authors on {{ SITENAME }}</h1>
<ul>
{% for author, articles in authors|sort %}
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
<h1 class="text-3xl md:text-5xl">Authors</h1>
It's all me, silly you.
<!-- <ul> -->
<!-- {% for author, articles in authors|sort %} -->
<!-- <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> -->
<!-- {% endfor %} -->
<!-- </ul> -->
{% endblock %}