From fd64c05809f3b8a785c64358fd8e70bebf0a4919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Fri, 18 Apr 2014 23:42:02 +0200 Subject: [PATCH] Fix #118: fix single page generation when file from summary doesn't exists --- theme/templates/page.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme/templates/page.html b/theme/templates/page.html index 6ca111797..061df6d6f 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -77,9 +77,11 @@

{{ item.title }}

+ {% if pages[item.path] %}
{{ articleContent(pages[item.path].content) }}
+ {% endif %} {% if item.articles.length > 0 %} {% for article in item.articles %}