From 285596d43cf9b0d70e4dd491d33cd9e0e5b27237 Mon Sep 17 00:00:00 2001 From: tymoteuszjozwiak Date: Tue, 17 Jan 2023 14:42:47 +0100 Subject: [PATCH] add reading time --- templates/post.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post.html.twig b/templates/post.html.twig index 6813fba..4e75131 100644 --- a/templates/post.html.twig +++ b/templates/post.html.twig @@ -5,7 +5,7 @@

{{ page.title }}

-

{{ page.date|date("d.m.Y H:i") }}

+

{{ page.date|date("d.m.Y H:i") }} {% if config.plugins.readingtime.enabled %} | {{ page.content|readingtime }} {% endif %}

Tagi: {% for tag in page.taxonomy.tag %}{{ tag }} {% endfor %}

{{ page.content | raw }}