From b8eed1ec176073bbbcd12392da3244971ceb51b0 Mon Sep 17 00:00:00 2001 From: Richard Mortier Date: Sun, 6 Apr 2025 03:01:31 +0200 Subject: process markdown in titles and subtitles in index and recents (#217) --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 2c9fdfb..c2f1c40 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,9 +46,9 @@ This Template can also be used directly for the index eg: example.com/ or as the {%- if page.summary %} {{ page.summary | markdown(inline=true) | safe }} {%- elif page.description %} - {{ page.description | safe }} + {{ page.description | markdown(inline=true) | safe }} {%- elif page.content %} - {{ page.content | striptags | truncate(length=150) | safe }} + {{ page.content | striptags | truncate(length=150) | markdown(inline=true) | safe }} {%- elif page.extra.static_thumbnail %} {%- endif %} -- cgit v1.3.1