summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-06-25 08:21:06 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-06-25 08:21:06 +0200
commit0eccffed41d4ece58d37e17108bf8f3464ab7b36 (patch)
tree5b4135141e5dc4267f6eb7c5c818fd53a0f0eb63
parent4dc6e7bf238c7aec7eb475e070748417a1672958 (diff)
Remove trailing whitespace
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--templates/index.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/index.html b/templates/index.html
index 5d5350e..d5a855b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -7,7 +7,7 @@
<link rel="icon" href="{{ config.extra.favicon | safe }}">
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
- <title>{% block title %}{{ config.title }}{% endblock title %}</title>
+ <title>{% block title %}{{ config.title }}{% endblock title %}</title>
</head>
<body>
@@ -37,7 +37,7 @@
<img src="{{ config.extra.logo | safe }}" alt="" />
</a>
{% endif %}
-
+
{% else %}
<h1><a href="{{ config.base_url }}">{{ config.title }}</a></h1>
{% endif %}
@@ -45,26 +45,26 @@
{% if config.extra.release %}
<div id="release"></div>
{% endif %}
-
+
<a href="javascript:void(0);" onclick="burger()" id="mobile" class="ms-Icon--GlobalNavButton"></a>
<div id="trees">
{% set section = get_section(path="_index.md") %}
{% for p in section.subsections %}
- {% set subsection = get_section(path=p) %}
-
-
- <input class="tree-toggle" type="checkbox" id="{{ subsection.title | slugify }}"
+ {% set subsection = get_section(path=p) %}
+
+
+ <input class="tree-toggle" type="checkbox" id="{{ subsection.title | slugify }}"
{% if current_path is starting_with(subsection.path) %}checked{% endif %} />
<label class="tree-toggle-label" for="{{ subsection.title | slugify }}">{{ subsection.title }}</label>
-
+
<ul class="subtree">
{% for page in subsection.pages %}
<li {% if current_path == page.path %}class="active"{% endif %}>
<a href="{{page.permalink | safe }}">{{page.title}}</a>
</li>
- {% if current_path == page.path %}
-
+ {% if current_path == page.path %}
+
{% set_global header_count = 0 %}
{% for h2 in page.toc %}
{% set_global header_count = header_count + 1 %}
@@ -81,7 +81,7 @@
{% for h2 in page.toc %}
<li><a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
{% if h2.children %}
- <ul>
+ <ul>
{% for h3 in h2.children %}
<li><a href="{{ h3.permalink | safe }}">{{ h3.title }}</a></li>
{% endfor %}
@@ -92,17 +92,17 @@
</ul>
{% endif %}
-
+
{% endif %}
{% endfor %}
- </ul>
+ </ul>
{% endfor %}
- </div>
+ </div>
</nav>
{% endblock nav %}
<article>
-
+
{% if config.build_search_index %}
<div id="on_right">
<span id="search-ico" class="ms-Icon--Search"></span>
@@ -114,7 +114,7 @@
<ul class="search-results__items"></ul>
</div>
</div>
- {% endif %}
+ {% endif %}
<div id="wrap">
{% block content %}
@@ -132,4 +132,4 @@
{% endif %}
</body>
-</html> \ No newline at end of file
+</html>