Add a 404 entry, standardize more text
This commit is contained in:
parent
38d45ced44
commit
958242f4d5
5 changed files with 22 additions and 21 deletions
6
templates/404.html
Normal file
6
templates/404.html
Normal 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 %}
|
|
@ -4,14 +4,6 @@
|
|||
{{ page.description }}
|
||||
<br>
|
||||
<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 -%}
|
||||
{% include "blog-metadata.html" %}
|
||||
</strong>
|
||||
</li>
|
||||
|
|
11
templates/blog-metadata.html
Normal file
11
templates/blog-metadata.html
Normal 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>
|
|
@ -4,16 +4,8 @@
|
|||
<h1 class="title">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<p class="subtitle"><strong>
|
||||
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></p>
|
||||
<p class="subtitle">
|
||||
{% include "blog-metadata.html" %}
|
||||
</p>
|
||||
{{ page.content | safe }}
|
||||
{% endblock content %}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<div class="sb_header nixfox"><b>nixfox</b></div>
|
||||
<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://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://pass.nixfox.ca" class="sb_link fox">🔒 vaultwarden</a><br>
|
||||
<a href="https://git.nixfox.ca" class="sb_link fox">🗄️ forgejo</a><br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue