Add reading time to post header, remove purgecss because it was breaking CSS used by injected HTML.

This commit is contained in:
天クマ 2026-07-04 16:23:14 -03:00
commit a301a5cc5e
6 changed files with 1621 additions and 18 deletions

View file

@ -9,6 +9,7 @@ title: Adrian Victor:Blog
<article>
<div id="postHeader">
<h1>{{ postTitle }}</h1>
<p>{{ i18n[langKey].readingTime }}: {{ content | readingTime }}</p>
<p>{{ authors or "Adrian Victor" }} - <b>{{ date | postDate }}</b>{% if lastModified | postDate !== date | postDate %} ({{ i18n[langKey].lastEditedIn }} {{ lastModified | postDate }}){% endif %}</p>
{% if altLanguages.length > 0 %}
{{ i18n[langKey].availableInOtherLanguages }}: