Add a 404 entry, standardize more text

This commit is contained in:
Bun 2025-07-03 00:47:02 -04:00
parent 38d45ced44
commit 958242f4d5
5 changed files with 22 additions and 21 deletions

6
templates/404.html Normal file
View file

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h1>404, page not found</h1>
<p>lost? you can always return <a href="/">home</a>.</p>
{% endblock content %}

View file

@ -4,14 +4,6 @@
{{ page.description }} {{ page.description }}
<br> <br>
<strong class="subtitle"> <strong class="subtitle">
written: {{ page.date }} {% include "blog-metadata.html" %}
<br>
authors: {%- for tag in page.taxonomies.authors | sort | unique(case_sensitive=false) %}
<a class="post-author" href="{{ get_taxonomy_url(kind='authors', name=tag) | safe }}">{{ tag }}</a>
{% endfor -%}
<br>
tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %}
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
{% endfor -%}
</strong> </strong>
</li> </li>

View file

@ -0,0 +1,11 @@
<strong class="subtitle">
written: {{ page.date }}
<br>
authors: {%- for tag in page.taxonomies.authors | sort | unique(case_sensitive=false) %}
<a class="post-author" href="{{ get_taxonomy_url(kind='authors', name=tag) | safe }}">{{ tag }}</a>
{% endfor -%}
<br>
tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %}
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
{% endfor -%}
</strong>

View file

@ -4,16 +4,8 @@
<h1 class="title"> <h1 class="title">
{{ page.title }} {{ page.title }}
</h1> </h1>
<p class="subtitle"><strong> <p class="subtitle">
written: {{ page.date }} {% include "blog-metadata.html" %}
<br> </p>
authors: {%- for tag in page.taxonomies.authors | sort | unique(case_sensitive=false) %}
<a class="post-author" href="{{ get_taxonomy_url(kind='authors', name=tag) | safe }}">{{ tag }}</a>
{% endfor -%}
<br>
tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %}
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
{% endfor -%}
</strong></p>
{{ page.content | safe }} {{ page.content | safe }}
{% endblock content %} {% endblock content %}

View file

@ -17,7 +17,7 @@
<div class="sb_header nixfox"><b>nixfox</b></div> <div class="sb_header nixfox"><b>nixfox</b></div>
<a href="/nixfox" class="sb_link fox">📰 news</a><br> <a href="/nixfox" class="sb_link fox">📰 news</a><br>
<a href="https://uptime.nixfox.ca/status/nixfox" class="sb_link fox">⬆️ uptime</a><br> <a href="https://uptime.nixfox.ca/status/nixfox" class="sb_link fox">⬆️ uptime</a><br>
<a href="https://mail.nixfox.ca" class="sb_link fox">📧 email</a><br> <a href="https://mail.nixfox.ca" class="sb_link fox">✉️ email</a><br>
<a href="https://files.nixfox.ca" class="sb_link fox">☁️ nextcloud</a><br> <a href="https://files.nixfox.ca" class="sb_link fox">☁️ nextcloud</a><br>
<a href="https://pass.nixfox.ca" class="sb_link fox">🔒 vaultwarden</a><br> <a href="https://pass.nixfox.ca" class="sb_link fox">🔒 vaultwarden</a><br>
<a href="https://git.nixfox.ca" class="sb_link fox">🗄️ forgejo</a><br> <a href="https://git.nixfox.ca" class="sb_link fox">🗄️ forgejo</a><br>