From c69cb7bafd12b6debe3ae1d4997447e276ae30b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info> Date: Tue, 22 Mar 2016 18:13:27 +0100 Subject: [PATCH] Fix auto-generation of perex for articles without --- theme/templates/partials/list.html.nunj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/partials/list.html.nunj b/theme/templates/partials/list.html.nunj index c40b1a05..340efb55 100644 --- a/theme/templates/partials/list.html.nunj +++ b/theme/templates/partials/list.html.nunj @@ -21,7 +21,7 @@ {% if page.metadata.perex_e %} {{page.metadata.perex_e | truncate}} {% else %} - {{ page.origContent | striptags | truncate }} + {{ page.content | striptags | truncate }} {% endif %} {% endif %} </div> -- GitLab