From d6a12a34455071dd0fecfc74be665e025be29b62 Mon Sep 17 00:00:00 2001 From: Johan Preynat Date: Mon, 30 May 2016 14:28:03 +0200 Subject: [PATCH] Reset test for article.path before calling getPageByPath() in summary --- _layouts/website/summary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/website/summary.html b/_layouts/website/summary.html index a638f4d..e43c954 100644 --- a/_layouts/website/summary.html +++ b/_layouts/website/summary.html @@ -1,7 +1,7 @@ {% macro articles(_articles) %} {% for article in _articles %}
  • - {% if getPageByPath(article.path) %} + {% if article.path and getPageByPath(article.path) %} {% elif article.url %} -- GitLab