From c88c34eff6b4c0fea938edf8ed3be0fb5fd53cd1 Mon Sep 17 00:00:00 2001 From: Che <43485962+c-git@users.noreply.github.com> Date: Thu, 2 Jun 2022 21:10:23 -0400 Subject: [PATCH] Handle the case where a section has no pages --- templates/section.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/section.html b/templates/section.html index 3e8a21e..416ab0e 100644 --- a/templates/section.html +++ b/templates/section.html @@ -6,14 +6,16 @@ {% if section.word_count > 0 -%} {{ section.content }} {% else -%} -