aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-05-01 21:45:52 -0500
committerChristian Cleberg <hello@cleberg.net>2024-05-01 21:45:52 -0500
commitdc1261d703ae1e1a14841b030888e3f87ff7c38f (patch)
tree71139c9021b09704b2d45be3b64d54e2acbae55f /templates/base.html
parentba6b552c8256cc2e071c910ef7821c82443f1f82 (diff)
downloadcleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.tar.gz
cleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.tar.bz2
cleberg.net-dc1261d703ae1e1a14841b030888e3f87ff7c38f.zip
prettier formatting and rewrap lines
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html22
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html
index e867cb9..140ba9a 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,20 +5,21 @@
<title>cleberg.net</title>
{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="theme-color" content="#111" media="(prefers-color-scheme: dark)">
- <meta name="theme-color" content="#fff" media="(prefers-color-scheme: light)">
- {% if page %}
- {% if page.description %}
+ <meta name="theme-color" content="#111" media="(prefers-color-scheme:
+ dark)">
+ <meta name="theme-color" content="#fff" media="(prefers-color-scheme:
+ light)">
+ {% if page %} {% if page.description %}
<meta name="description" content="{{ page.description }}">
{% elif config.description %}
<meta name="description" content="{{ config.description }}">
- {% endif %}
- {% elif config.description %}
- <meta name="description" content="{{ config.description }}" />
- {% endif %}
+ {% endif %} {% elif config.description %}
+ <meta name="description" content="{{ config.description }}" /> {% endif
+ %}
{% block rss %}
- <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="{{
+ get_url(path="atom.xml", trailing_slash=false) }}">
{% endblock %}
{% block css %}
@@ -41,7 +42,8 @@
<footer>
<p>Last build: {{ now() | date(format="%Y-%m-%d %H:%M:%S") }}</p>
- <p><a href="https://git.cleberg.net/?p=cleberg.net.git;a=summary" target="_blank" rel="noopener">Source Code</a></p>
+ <p><a href="https://git.cleberg.net/?p=cleberg.net.git;a=summary"
+ target="_blank" rel="noopener">Source Code</a></p>
<p><a href="/atom.xml">Atom RSS Feed</a></p>
</footer>
</body>