From b4393b3d6e775d9c05b92b3f35bd74f5c3475ef5 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 2 Sep 2021 13:43:08 +0530 Subject: Add `post-content` only if it exists --- layouts/_default/single.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8a85fc8..8d42cd7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -25,11 +25,15 @@ {{- if (.Param "ShowToc") }} {{- partial "toc.html" . }} {{- end }} + + {{- if .Content }}