finally make tagging clickable, add blank content folders i will fill out later

This commit is contained in:
Bun 2025-07-01 22:48:48 -04:00
parent 67d4b7e1ef
commit 0cb04d1205
11 changed files with 43 additions and 11 deletions

View file

@ -4,6 +4,11 @@
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }} {{ page.taxonomies.tags }}</strong></p>
<p class="subtitle"><strong>
{{ page.date }},
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 }}
{% endblock content %}

View file

@ -18,7 +18,9 @@
<br>
written: {{ page.date }}
<br>
tags: {{ page.taxonomies.tags }}
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 -%}
</li>
{% endfor %}
</ul>

View file

@ -7,6 +7,7 @@
{% block content %}
<div class="post">
<h1 class="post-title">all tags</h1>
<p class="larger">return to <a href="/blog">all blogs</a>.</p>
<ul>
{% for term in terms %}

View file

@ -1,7 +1,10 @@
{% extends "base.html" %}
{% block content %}
<h1>{{ term.name }}</h1>
<h2>
tag: {{ term.name }}
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
</h2>
<div class="page-intro">
<p class="larger">view all <a href="/tags">tags</a>.</p>
@ -16,7 +19,9 @@
<br>
written: {{ page.date }}
<br>
tags: {{ page.taxonomies.tags }}
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 -%}
</li>
{% endfor %}
</ul>