diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-07-06 22:35:05 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-07-06 22:35:05 +0200 |
commit | ddd6b27e49b69daf920cf778c227d93da871868d (patch) | |
tree | 8a93374598ea934b94c97e91cc1d01ae38f4d7af | |
parent | 7820b24781291d3ac7f55cd891f0c49260a01820 (diff) |
Remove trailing whitespace
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | templates/anchor-link.html | 2 | ||||
-rw-r--r-- | templates/index.html | 10 | ||||
-rw-r--r-- | templates/macro.html | 4 | ||||
-rw-r--r-- | templates/page.html | 10 | ||||
-rw-r--r-- | templates/section.html | 4 |
5 files changed, 15 insertions, 15 deletions
diff --git a/templates/anchor-link.html b/templates/anchor-link.html index b2ac276..e0c3282 100644 --- a/templates/anchor-link.html +++ b/templates/anchor-link.html @@ -1 +1 @@ -<a class="anchor" href="#{{ id }}">§</a>
\ No newline at end of file +<a class="anchor" href="#{{ id }}">§</a> diff --git a/templates/index.html b/templates/index.html index a8f1e99..4374b7c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <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> <link rel="stylesheet" href="{{ get_url(path="main.css") | safe }}"> </head> @@ -17,16 +17,16 @@ <button type="button" id="theme-light-button" class="theme-button" onclick="enableTheme('light', true)">◪</button> <button type="button" id="theme-dark-button" class="theme-button enabled" onclick="enableTheme('dark', true)">◩</button> </form> - <a href="/search">⌕</a> + <a href="/search">⌕</a> </div> {% block nav %} <ul id="breadcrumbs"> {% for tax in config.taxonomies %} - <li>/<a href="/{{tax.name}}/">{{tax.name}}</a> </li> + <li>/<a href="/{{tax.name}}/">{{tax.name}}</a> </li> {% endfor %} </ul> - <h1>{{ config.title }}</h1> + <h1>{{ config.title }}</h1> {{ macro::tree() }} {% endblock nav %} </nav> @@ -49,7 +49,7 @@ <ul id="toc"> {% for h2 in section.toc %} <li><a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> - {% if h2.children %}<ul> + {% if h2.children %}<ul> {% for h3 in h2.children %} <li><a href="{{ h3.permalink | safe }}">{{ h3.title }}</a></li> {% endfor %} diff --git a/templates/macro.html b/templates/macro.html index f97aef1..b85aa10 100644 --- a/templates/macro.html +++ b/templates/macro.html @@ -2,11 +2,11 @@ <a href="javascript:void(0);" onclick="burger()" id="mobile">☰</a>
<ul id="bger">
{% for subsection in section.subsections | sort %}
- {% set subsection_item = get_section(path=subsection) %}
+ {% set subsection_item = get_section(path=subsection) %}
<li><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAaElEQVRIx2NgGOqAEcZgZefQb25suIBPcW19g8Hvnz8ukmwBKzuHQHNjw3tiNFRUVDCSZAExLicX1NY3ODJ2dHT8ZxgF+OKA1kHERGsfjFowasGoBaMWEGNBbX2DI60Mr61vkBr69QEAFDIY9Yz1owAAAAAASUVORK5CYII=" width="16px" /> <a href="{{ subsection_item.permalink | safe }}">{{ subsection_item.title }}</a></li>
{% endfor %}
{% for subpage in section.pages %}
- <li><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AUDFDoqfmnPqQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAC6SURBVEjH7ZTBCcIwFIa/lO6hA7iA6BCO4AZe/xHeCF49C4I7VOfQk2PUS4QibUzahiL0h0AOj7x87wtx+JhZTWQkLYFnTG1Bj5jZBVjE1LpvAknux+F1CkkvgkazB7DJ0kDSHniZ2RFY5yA4SToAKzO7d5EUoVk3V0fZWdLO11dt4gc58Ll62a1OBr2igJ8tcBuLoO0S1Wdfpt40lTALQTNlYI5ujAbTEaT8riHi2cHs4B8dpM5+coI3MpVSlNj0qyUAAAAASUVORK5CYII=" width="16px" /> <a href="{{ subpage.permalink | safe }}">{{ subpage.title }}</a></li>
+ <li><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AUDFDoqfmnPqQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAC6SURBVEjH7ZTBCcIwFIa/lO6hA7iA6BCO4AZe/xHeCF49C4I7VOfQk2PUS4QibUzahiL0h0AOj7x87wtx+JhZTWQkLYFnTG1Bj5jZBVjE1LpvAknux+F1CkkvgkazB7DJ0kDSHniZ2RFY5yA4SToAKzO7d5EUoVk3V0fZWdLO11dt4gc58Ll62a1OBr2igJ8tcBuLoO0S1Wdfpt40lTALQTNlYI5ujAbTEaT8riHi2cHs4B8dpM5+coI3MpVSlNj0qyUAAAAASUVORK5CYII=" width="16px" /> <a href="{{ subpage.permalink | safe }}">{{ subpage.title }}</a></li>
{% endfor %}
</ul>
{% endmacro tree %}
diff --git a/templates/page.html b/templates/page.html index f1d60b7..fc8a52e 100644 --- a/templates/page.html +++ b/templates/page.html @@ -6,17 +6,17 @@ <ul id="breadcrumbs"> {% for parent in page.ancestors %} {% set s = get_section(path=parent, include_pages=false) %} - <li><a href="{{s.permalink}}">{{s.title}}</a> → </li> + <li><a href="{{s.permalink}}">{{s.title}}</a> → </li> {% endfor %} </ul> - <h1>{{ page.title }}</h1><em>{{ page.description | safe }}</em> + <h1>{{ page.title }}</h1><em>{{ page.description | safe }}</em> {% endblock nav %} {% block content %} <div id="taxonomies"> {% if page.date %} <date>{{ page.date | date(format="%d.%m.%Y") }}</date> - {% endif %} + {% endif %} {% if page.taxonomies.authors %} <ul> @@ -25,7 +25,7 @@ {% endfor %} </ul> {% endif %} - + {% if page.taxonomies.tags %} <ul> {% for tag in page.taxonomies.tags %} @@ -50,7 +50,7 @@ <ul id="toc"> {% for h2 in page.toc %} <li><a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> - {% if h2.children %}<ul> + {% if h2.children %}<ul> {% for h3 in h2.children %} <li><a href="{{ h3.permalink | safe }}">{{ h3.title }}</a></li> {% endfor %} diff --git a/templates/section.html b/templates/section.html index 788b29f..3b82895 100644 --- a/templates/section.html +++ b/templates/section.html @@ -11,5 +11,5 @@ <li>{{ section.title }}</li>
</ul>
<h1>{{ section.title }}</h1>
- {{ macro::tree() }}
-{% endblock nav %}
\ No newline at end of file + {{ macro::tree() }}
+{% endblock nav %}
|