the home site for me: also iteration 3 or 4 of my site

chore: run formater

+11 -16
templates/base.html
···
<!DOCTYPE html>
-
<html lang="{% if page %}{{ page.lang }}{% else %}{{ config.default_language }}{% endif %}">
-
<head>
+
<html
+
lang="{% if page %}{{ page.lang }}{% else %}{{ config.default_language }}{% endif %}"
+
>
+
<head>
{% include "head.html" %}
-
</head>
-
<body>
-
<header>
-
{% include "header.html" %}
-
</header>
-
<main>
-
{% block content %}
-
{% endblock content %}
-
</main>
-
<footer>
-
{% include "footer.html" %}
-
</footer>
-
</body>
-
</html>
+
</head>
+
<body>
+
<header>{% include "header.html" %}</header>
+
<main>{% block content %} {% endblock content %}</main>
+
<footer>{% include "footer.html" %}</footer>
+
</body>
+
</html>
+11 -13
templates/blog-page.html
···
-
{% extends "base.html" %}
-
-
{% block content %}
+
{% extends "base.html" %} {% block content %}
<div><a href="..">..</a>/<span class="accent-data">{{ page.slug }}</span></div>
-
<time datetime="{{ page.date }}">Published on: <span class="accent-data">{{ page.date }}</span></time>
+
<time datetime="{{ page.date }}"
+
>Published on: <span class="accent-data">{{ page.date }}</span></time
+
>
{% if config.extra.author and config.extra.display_author == true %}
-
<address rel="author">By <span class="accent-data">{{config.extra.author}}</span></address>
+
<address rel="author">
+
By <span class="accent-data">{{config.extra.author}}</span>
+
</address>
{% endif %}
<h1>{{ page.title }}</h1>
···
</li>
{% endfor %}
</ul>
-
{% endif %}
-
-
{{ page.content | safe }}
+
{% endif %} {{ page.content | safe }}
<p class="tags-data">
-
{% if page.taxonomies.tags %}
-
{% for tag in page.taxonomies.tags %}
+
{% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %}
<a href="/tags/{{ tag | slugify }}">|{{ tag }}|</a>
-
{% endfor %}
-
{% endif %}
+
{% endfor %} {% endif %}
</p>
-
{% endblock content %}
+
{% endblock content %}
+19 -12
templates/blog.html
···
{% extends "base.html" %} {% block content %}
<h1 class="title">{{ section.title }}</h1>
-
<p role="heading">--- <span style="letter-spacing: 0.1em;">Main Blog</span> ---</p>
+
<p role="heading">
+
--- <span style="letter-spacing: 0.1em">Main Blog</span> ---
+
</p>
<ul>
<!-- If you are using pagination, section.pages will be empty.
You need to use the paginator object -->
-
{% for page in section.pages %}
-
{% if "archival" not in page.taxonomies.tags %}
-
<li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
-
{% endif %}
-
{% endfor %}
+
{% for page in section.pages %} {% if "archival" not in page.taxonomies.tags
+
%}
+
<li>
+
{{ page.date }} &mdash;
+
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
+
</li>
+
{% endif %} {% endfor %}
</ul>
-
<p role="heading" >--- <span style="letter-spacing: 0.213em;">Archival</span> ---</p>
+
<p role="heading">
+
--- <span style="letter-spacing: 0.213em">Archival</span> ---
+
</p>
<ul>
-
{% for page in section.pages %}
-
{% if "archival" in page.taxonomies.tags %}
-
<li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a> (archival)</li>
-
{% endif %}
-
{% endfor %}
+
{% for page in section.pages %} {% if "archival" in page.taxonomies.tags %}
+
<li>
+
{{ page.date }} &mdash;
+
<a href="{{ page.permalink | safe }}">{{ page.title }}</a> (archival)
+
</li>
+
{% endif %} {% endfor %}
</ul>
{% endblock content %}
+21 -19
templates/footer.html
···
<hr />
<div id="footer-container">
-
<p style="margin-bottom: 0.5rem;">&copy; {{ now() | date(format="%Y") }} Kieran Klukas</p>
-
<p>
-
Content licensed under
-
<a
-
target="_blank"
-
rel="noopener noreferrer"
-
href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
-
>CC BY-NC-SA 4.0</a
-
>
-
</p>
-
<p>
-
Code licensed under
-
<a
-
target="_blank"
-
rel="noopener noreferrer"
-
href="https://github.com/kcoderhtml/zera/blob/master/LICENSE.md"
-
>AGPL 3.0</a
-
>
-
</p>
+
<p style="margin-bottom: 0.5rem">
+
&copy; {{ now() | date(format="%Y") }} Kieran Klukas
+
</p>
+
<p>
+
Content licensed under
+
<a
+
target="_blank"
+
rel="noopener noreferrer"
+
href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
+
>CC BY-NC-SA 4.0</a
+
>
+
</p>
+
<p>
+
Code licensed under
+
<a
+
target="_blank"
+
rel="noopener noreferrer"
+
href="https://github.com/kcoderhtml/zera/blob/master/LICENSE.md"
+
>AGPL 3.0</a
+
>
+
</p>
</div>
+13 -15
templates/section.html
···
-
{% extends "base.html" %}
-
-
{% block content %}
+
{% extends "base.html" %} {% block content %}
<h1>{{ section.title }}</h1>
-
{{ section.content | safe }}
-
-
{% if paginator %}
-
{% set pages = paginator.pages %}
-
{% else %}
-
{% set pages = section.pages %}
-
{% endif %}
+
{{ section.content | safe }} {% if paginator %} {% set pages = paginator.pages
+
%} {% else %} {% set pages = section.pages %} {% endif %}
<ul class="title-list">
-
{% for page in pages %}
+
{% for page in pages %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
</li>
-
{% endfor %}
+
{% endfor %}
</ul>
{% if paginator %}
-
<div class="accent-data">{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a> &nbsp <a href="{{ paginator.previous }}"><</a>{% endif %} &nbsp {{ paginator.current_index }} / {{ paginator.number_pagers }} &nbsp {% if paginator.next %}<a href="{{ paginator.next }}">></a> &nbsp <a href="{{ paginator.last }}">⥸</a>{% endif %}</div>
-
{% endif %}
-
{% endblock content %}
+
<div class="accent-data">
+
{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a> &nbsp
+
<a href="{{ paginator.previous }}"><</a>{% endif %} &nbsp {{
+
paginator.current_index }} / {{ paginator.number_pagers }} &nbsp {% if
+
paginator.next %}<a href="{{ paginator.next }}">></a> &nbsp
+
<a href="{{ paginator.last }}">⥸</a>{% endif %}
+
</div>
+
{% endif %} {% endblock content %}
+1 -1
templates/shortcodes/mark.html
···
-
<mark>{{content}}</mark>
+
<mark>{{content}}</mark>
-4
templates/shortcodes/webring.html
···
-
<span class="webring">
-
<a class="no-style" href={{prev}}><svg class="icons"><use href="{{ get_url(path='icons.svg#chevronLeft', trailing_slash=false) | safe }}"></use></svg></a>
-
<a href={{webring}}>{{webringName}}</a>
-
<a class="no-style" href={{next}}><svg class="icons"><use href="{{ get_url(path='icons.svg#chevronRight', trailing_slash=false) | safe }}"></use></svg></a></span>
+1 -1
templates/shortcodes/youtube.html
···
allowfullscreen
>
</iframe>
-
</div>
+
</div>
+16 -14
templates/tags/single.html
···
-
{% extends "base.html" %}
-
-
{% block content %}
+
{% extends "base.html" %} {% block content %}
<h1>{{ term.name }}</h1>
-
{% if paginator %}
-
{% set pages = paginator.pages %}
-
{% else %}
-
{% set pages = term.pages %}
-
{% endif %}
+
{% if paginator %} {% set pages = paginator.pages %} {% else %} {% set pages =
+
term.pages %} {% endif %}
<ul>
-
{% for page in pages %}
+
{% for page in pages %}
<li>
-
<a href="{{ page.permalink | safe }}">{% if page.date %}{{ page.date }} - {% endif %}{{ page.title }}</a>
+
<a href="{{ page.permalink | safe }}"
+
>{% if page.date %}{{ page.date }} - {% endif %}{{ page.title }}</a
+
>
</li>
-
{% endfor %}
+
{% endfor %}
</ul>
{% if paginator %}
-
<p>{% if paginator.previous %}<a href="{{ paginator.first }}">&lt;&lt; First</a> <a href="{{ paginator.previous }}">&lt; Previous</a>{% endif %} [{{ paginator.current_index }}/{{ paginator.number_pagers }}] {% if paginator.next %}<a href="{{ paginator.next }}">Next &gt;</a> <a href="{{ paginator.last }}">Last &gt;&gt;</a>{% endif %}</p>
-
{% endif %}
-
{% endblock content %}
+
<p>
+
{% if paginator.previous %}<a href="{{ paginator.first }}">&lt;&lt; First</a>
+
<a href="{{ paginator.previous }}">&lt; Previous</a>{% endif %} [{{
+
paginator.current_index }}/{{ paginator.number_pagers }}] {% if paginator.next
+
%}<a href="{{ paginator.next }}">Next &gt;</a>
+
<a href="{{ paginator.last }}">Last &gt;&gt;</a>{% endif %}
+
</p>
+
{% endif %} {% endblock content %}
+6 -18
tools/og.html
···
}
h1 {
-
font-size: calc(
-
2 * 2vw
-
);
+
font-size: calc(2 * 2vw);
}
h2 {
-
font-size: calc(
-
1.75 * 2vw
-
);
+
font-size: calc(1.75 * 2vw);
}
h3 {
-
font-size: calc(
-
1.5 * 2vw
-
);
+
font-size: calc(1.5 * 2vw);
}
h4 {
-
font-size: calc(
-
1.25 * 2vw
-
);
+
font-size: calc(1.25 * 2vw);
}
h5 {
-
font-size: calc(
-
1 * 2vw
-
);
+
font-size: calc(1 * 2vw);
}
h6 {
-
font-size: calc(
-
0.75 * 2vw
-
);
+
font-size: calc(0.75 * 2vw);
}
h1,