Add tags with Octothorpe and RSS support

This commit is contained in:
jultty 2026-05-02 05:03:05 -03:00
commit da7ca76ed5
19 changed files with 333 additions and 73 deletions

View file

@ -1,11 +1,25 @@
{% extends "content.html" %}
{%- block content %}
<div class="link-box">
<h1 class="link-title"><a href="{{ page.extra.url }}">{{ page.title }}</a></h1>
<p class="link-data"><span class="link-author">by {{ page.authors | join(sep=", ") }}</span>
<time class="link-date"><strong>{% if lang == "pt" %}Linkado{% else %}Linked{% endif %} {{ page.date | date(format="%Y-%m-%d %H:%M:%S") }}</strong></time></p>
</div>
<div class="link-box">
<h1 class="link-title">
<a href="{{ page.extra.url }}" rel="octo:bookmarks">{{ page.title }}</a>
</h1>
<div class="content-metadata link-page-metadata">
<span class="link-author">{% if lang == "pt" %}Por{% else %}By{% endif %} {{ page.authors | join(sep=", ") }}</span>
<time class="link-date"><strong>{% if lang == "pt" %}Linkado{% else %}Linked{% endif %} {{ page.date | date(format="%Y-%m-%d %H:%M:%S") }}</strong></time>
{%- for taxonomy, terms in page.taxonomies -%}
{%- if taxonomy == "tags" -%}
<div class="content-tags"><span>tags:</span><ul>
{%- for tag in terms -%}
<li><a class="content-tags" href="/tags/{{ tag }}">
{{- tag -}}
</a></li>
{% endfor -%}
</ul></div>
{%- endif -%}
{% endfor -%}
</div>
{%- if page.extra.comment %}<p>{{ page.extra.comment }}</p>{% endif %}
{{- page.content | safe }}