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,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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue