From 41b223e6cdd41a7eb4248e426e473f301de31587 Mon Sep 17 00:00:00 2001 From: Johan Preynat Date: Mon, 23 May 2016 10:05:08 +0200 Subject: [PATCH] Improve styling --- _layouts/website/summary.html | 19 ++++++++------- src/less/website/summary.less | 44 +++++++++++++++++++++-------------- 2 files changed, 37 insertions(+), 26 deletions(-) diff --git a/_layouts/website/summary.html b/_layouts/website/summary.html index 7a95ccd..b10349c 100644 --- a/_layouts/website/summary.html +++ b/_layouts/website/summary.html @@ -1,7 +1,7 @@ {% macro articles(_articles) %} {% for article in _articles %} {% set articlePage = getPageByPath(article.path) %} -
  • +
  • {% if article.path %} {% elif article.url %} @@ -9,24 +9,25 @@ {% else %} {% endif %} +
    {% if article.level != "0" and config.pluginsConfig['theme-default'].showLevel %} {{ article.level }}. {% endif %} {{ article.title }} +
    + {% if articlePage.tags %} +
    + {% for tag in articlePage.tags %} + {{ tag }} + {% endfor %} +
    + {% endif %} {% if article.path or article.url %}
    {% else %} {% endif %} - {% if articlePage.tags %} - - {% endif %} - {% if article.articles.length > 0 %}