templates: normalize indentation to 4 spaces

This commit is contained in:
Colin 2022-04-05 20:38:18 +00:00
parent 41678b967e
commit c937c85114
3 changed files with 28 additions and 27 deletions

View File

@ -4,12 +4,13 @@
/ <a href="/">home</a> / <a>about</a>
{% endblock breadcrumbs %}
{# disable the 'about' header link #}
{% block breadcrumbs_right %}
{% endblock breadcrumbs_right %}
{% block content %}
<h1>
{{ page.title }}
{{ page.title }}
</h1>
{{ page.content | safe }}

View File

@ -2,40 +2,40 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Perfectly Sane</title>
<link rel="stylesheet" href="{{ get_url(path="static/style.css") | safe }}">
{# i have no favicon: this disable requests to /favicon.ico #}
<link rel="icon" href="data:,">
<meta charset="utf-8">
<title>Perfectly Sane</title>
<link rel="stylesheet" href="{{ get_url(path="static/style.css") | safe }}">
{# i have no favicon: this disable requests to /favicon.ico #}
<link rel="icon" href="data:,">
</head>
{% set about = get_page(path="about.md") %}
<body>
<div class="portal">
<header>
<span>
<span class="link-consolidated link-consolidated-left">
{% block breadcrumbs %} {% endblock %}
</span>
</span>
<span class="flex-right">
{% block breadcrumbs_right %}
<span class="link-consolidated link-consolidated-right">
<a href="{{ about.permalink | safe }}">about</a>
<div class="portal">
<header>
<span>
<span class="link-consolidated link-consolidated-left">
{% block breadcrumbs %} {% endblock %}
</span>
{% endblock %}
</span>
</header>
<div class="body-text">
{% block content %} {% endblock %}
</span>
<span class="flex-right">
{% block breadcrumbs_right %}
<span class="link-consolidated link-consolidated-right">
<a href="{{ about.permalink | safe }}">about</a>
</span>
{% endblock %}
</span>
</header>
<div class="body-text">
{% block content %} {% endblock %}
</div>
</div>
</div>
<div class="hide">
<span id="tile-slash">/</span>
</div>
<div class="hide">
<span id="tile-slash">/</span>
</div>
</body>
</html>

View File

@ -7,7 +7,7 @@
{% block content %}
<h1>
{{ page.title }}
{{ page.title }}
</h1>
<p><strong>{{ page.date }}</strong></p>