From 519a7cb36f080fd94ed950a4529c62db70b76d71 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sat, 7 Mar 2026 21:00:36 +0100 Subject: [PATCH] fix: render notes with content.html if present (web interface compatibility) --- notes.njk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/notes.njk b/notes.njk index 646d757..817a54b 100644 --- a/notes.njk +++ b/notes.njk @@ -45,7 +45,11 @@ permalink: "notes/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumbe {% endif %}
- {{ post.templateContent | safe }} + {% if post.content and post.content.html %} + {{ post.content.html | safe }} + {% else %} + {{ post.templateContent | safe }} + {% endif %}