forked from github/pelican
feat: add blog post word count
This commit is contained in:
parent
df34aec7f2
commit
c0618e0a9c
11 changed files with 103 additions and 50 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue