diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-02 17:20:09 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-02 17:20:09 -0800 |
| commit | 0d6c92124e6e21a536de6711ab5f82fa88200194 (patch) | |
| tree | 874010499fcc32fe79c84087ecee405254f514ba /templates/page.html | |
| parent | small tweak (diff) | |
| download | fcuny.net-0d6c92124e6e21a536de6711ab5f82fa88200194.tar.gz | |
basic setup for tags
Diffstat (limited to '')
| -rw-r--r-- | templates/page.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html index ab19904..3474a07 100644 --- a/templates/page.html +++ b/templates/page.html @@ -5,6 +5,14 @@ {% block content -%} <h1>{{ page.title }}</h1> +{% if page.taxonomies.tags %} +<div class="tags"> + {% for tag in page.taxonomies.tags %} + <a href="{{ get_taxonomy_url(kind="tags", name=tag) }}">#{{ tag }}</a> + {% endfor %} +</div> +{% endif %} + {{ page.content | safe -}} <p class="date">{{ page.date | date(format="%B %d, %Y") }}</p> |
