Add a bunch more blog stuff and templates

This commit is contained in:
Bun 2025-07-03 16:39:21 -04:00
parent a67ac803b3
commit 2a815643c0
16 changed files with 161 additions and 23 deletions

View file

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

View file

@ -6,7 +6,7 @@
{% block content %}
<div class="post">
<h1 class="post-title">all tags</h1>
<h1 class="blocktitle">all authors</h1>
<ul>
{% for term in terms %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h2>
<h2 class="blocktitle">
author: {{ term.name }}
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
</h2>

View file

@ -1,5 +1,9 @@
<strong class="subtitle">
written: {{ page.date }}
written: {{ page.date | date(format="%Y-%m-%d at %l:%M:%S%p EST") }}
{%- if page.updated %}
<br>
modified: {{ page.updated | date(format="%Y-%m-%d at %l:%M:%S%p EST") }}
{%- endif -%}
<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>

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
<h1 class="blocktitle">
{{ page.title }}
</h1>
<p class="subtitle">

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
<h1 class="blocktitle">
{{ section.title }}
</h1>

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
<h1 class="blocktitle">
{{ section.title }}
</h1>
{{ section.content | safe }}

View file

@ -6,7 +6,7 @@
{% block content %}
<div class="post">
<h1 class="post-title">all tags</h1>
<h1 class="blocktitle">all tags</h1>
<ul>
{% for term in terms %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h2>
<h2 class="blocktitle">
tag: {{ term.name }}
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
</h2>