From 183778067bfec16cc2ed4c7ba9f4ed1aa3c66496 Mon Sep 17 00:00:00 2001 From: Silvio Giebl Date: Thu, 15 Aug 2019 22:56:24 +0200 Subject: [PATCH] Fixed missing closing div in default.html, formatting --- _layouts/default.html | 53 ++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 52a03e1..a8bc48c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,13 +25,13 @@ layout: table_wrappers
{% if site.search_enabled != false %} -
-
- - Search +
+
+ + Search +
+
-
-
{% endif %} {% if site.aux_links != nil %}
    @@ -64,28 +64,29 @@ layout: table_wrappers {{ content }} {% endif %} - {% if page.has_children == true and page.has_toc != false %} -
    -

    Table of contents

    - {% assign children_list = site.pages | sort:"nav_order" %} -
      - {% for child in children_list %} - {% if child.parent == page.title and child.title != page.title %} -
    • - {{ child.title }} -
    • - {% endif %} - {% endfor %} -
    - {% endif %} + {% if page.has_children == true and page.has_toc != false %} +
    +

    Table of contents

    + {% assign children_list = site.pages | sort:"nav_order" %} +
      + {% for child in children_list %} + {% if child.parent == page.title and child.title != page.title %} +
    • + {{ child.title }} +
    • + {% endif %} + {% endfor %} +
    + {% endif %} - {% if site.footer_content != nil %} -
    -
    -

    {{ site.footer_content }}

    -
    - {% endif %} + {% if site.footer_content != nil %} +
    +
    +

    {{ site.footer_content }}

    +
    + {% endif %} +