From 804c67dcafd50c7725088783f9bea0af8e1cadb9 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 27 Sep 2014 10:14:45 +1200 Subject: [PATCH] If a folder has no children, default to menu This happens in the event of the documentation home page. --- .../Layout/DocumentationViewer_DocumentationFolder.ss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/Layout/DocumentationViewer_DocumentationFolder.ss b/templates/Layout/DocumentationViewer_DocumentationFolder.ss index e1cc886..118c1e0 100755 --- a/templates/Layout/DocumentationViewer_DocumentationFolder.ss +++ b/templates/Layout/DocumentationViewer_DocumentationFolder.ss @@ -38,6 +38,17 @@ <% end_loop %> + <% else %> +
+ +
<% end_if %> <% include DocumentationNextPrevious %>