From 1c632f6a0993282e8576f4cbdf917c8c4bf91b67 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 13 Dec 2019 16:41:49 +0100 Subject: [PATCH] Do not show toc for empty header, e.g. admonition --- Resources/Private/Templates/Page/BlogPost.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Resources/Private/Templates/Page/BlogPost.html b/Resources/Private/Templates/Page/BlogPost.html index 455dfa1..5b8c0e4 100644 --- a/Resources/Private/Templates/Page/BlogPost.html +++ b/Resources/Private/Templates/Page/BlogPost.html @@ -58,9 +58,11 @@ -
  • - {contentEntry.data.header} -
  • + +
  • + {contentEntry.data.header} +
  • +