aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-05-21 13:43:05 -0500
committerChristian Cleberg <hello@cleberg.net>2024-05-21 13:43:05 -0500
commit3ee3cba970cb26f579511c2f615ae8b8489ae545 (patch)
tree028c32c48b848288ed2a2606274af81cebb13acb /templates/index.html
parent298e3f1bec8c304fba7ca75d5c332b04dba64fb7 (diff)
downloadcleberg.net-3ee3cba970cb26f579511c2f615ae8b8489ae545.tar.gz
cleberg.net-3ee3cba970cb26f579511c2f615ae8b8489ae545.tar.bz2
cleberg.net-3ee3cba970cb26f579511c2f615ae8b8489ae545.zip
add service outage banner alert
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html52
1 files changed, 33 insertions, 19 deletions
diff --git a/templates/index.html b/templates/index.html
index cd8ac38..4156a38 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,6 +1,11 @@
-{% extends "base.html" %}
-
-{% block content %}
+{% extends "base.html" %} {% block content %}
+<section>
+ <div class="alert">
+ <b><u>Service Outage</u></b
+ >: Please note that all services and subdomains on
+ <code>cleberg.net</code> will be unavailable for a few days.
+ </div>
+</section>
<section>
<h1>cleberg.net</h1>
<pre>pub rsa4096 2022-11-16 [SC]
@@ -9,18 +14,18 @@ uid [ultimate] Christian Cleberg &lt;hello@cleberg.net&gt;</pre>
</section>
<section>
<h2>Recent Blog Posts</h2>
- {% set section = get_section(path="blog/_index.md") %}
- {% set i = 0 %}
- {% for page in section.pages %}
- {% if i < 3%}
- {% set_global i = i + 1%}
- <div class="post">
- <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S')
- }}">{{ page.date | date(format='%Y-%m-%d') }}</time>
- <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
- </div>
- {% endif %} {% endfor %}
- <br>
+ {% set section = get_section(path="blog/_index.md") %} {% set i = 0 %} {%
+ for page in section.pages %} {% if i < 3%} {% set_global i = i + 1%}
+ <div class="post">
+ <time
+ datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S')
+ }}"
+ >{{ page.date | date(format='%Y-%m-%d') }}</time
+ >
+ <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
+ </div>
+ {% endif %} {% endfor %}
+ <br />
<a href="/blog/">All Posts &rarr;</a>
</section>
<section>
@@ -35,10 +40,19 @@ uid [ultimate] Christian Cleberg &lt;hello@cleberg.net&gt;</pre>
<h2>Contact</h2>
<ul>
<li>hello [at] cleberg.net (<a href="/gpg.txt">GPG</a>)</li>
- <li><a href="https://matrix.to/#/@cyborg:matrix.tchncs.de"
- target="_blank" rel="noopener">@cyborg:@matrix.tchncs.de</a></li>
- <li><a href="https://git.sr.ht/~cyborg/" target="_blank"
- rel="noopener">Sourcehut</a></li>
+ <li>
+ <a
+ href="https://matrix.to/#/@cyborg:matrix.tchncs.de"
+ target="_blank"
+ rel="noopener"
+ >@cyborg:@matrix.tchncs.de</a
+ >
+ </li>
+ <li>
+ <a href="https://git.sr.ht/~cyborg/" target="_blank" rel="noopener"
+ >Sourcehut</a
+ >
+ </li>
</ul>
</section>
{% endblock content %}