From bb146fdc913c30485f0beb7def267bcf19cc5124 Mon Sep 17 00:00:00 2001 From: Rodolfo De Nadai Date: Mon, 28 Oct 2024 22:20:36 -0300 Subject: [PATCH] Repeated title annoyance --- example/templates/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/templates/list.html b/example/templates/list.html index 18cafea..6ae4f1e 100644 --- a/example/templates/list.html +++ b/example/templates/list.html @@ -16,7 +16,7 @@ {%- for content in content_list %}

{{ content.title | capitalize }}

-

{{ content.html | striptags | truncate(length=100, end="...") | trim_start_matches(pat=content.title) }}

+

{{ content.html | striptags | trim_start_matches(pat=content.title) | truncate(length=100, end="...") }}

{% if content.date -%}