summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theme/templates/page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html
index 6ca1117..061df6d 100644
--- a/theme/templates/page.html
+++ b/theme/templates/page.html
@@ -77,9 +77,11 @@
<h1>{{ item.title }}</h1>
</article>
+ {% if pages[item.path] %}
<article>
{{ articleContent(pages[item.path].content) }}
</article>
+ {% endif %}
{% if item.articles.length > 0 %}
{% for article in item.articles %}