From f9f4b8ae42e47f21268267f11aeb124c1da5c05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Thu, 25 Feb 2016 17:35:14 +0100 Subject: [PATCH] Fix display for articles without paths in summary --- _layouts/website/summary.html | 8 +++++++- src/less/website/summary.less | 5 ----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/_layouts/website/summary.html b/_layouts/website/summary.html index 5408159..599eb7a 100644 --- a/_layouts/website/summary.html +++ b/_layouts/website/summary.html @@ -3,14 +3,20 @@
  • {% if article.path %} - {% else %} + {% elif article.url %} + {% else %} + {% endif %} {% if article.level != "0" %} {{ article.level }}. {% endif %} {{ article.title }} + {% if article.path or article.url %} + {% else %} + + {% endif %} {% if article.articles.length > 0 %}