- Responses as u-comment/u-like/u-repost/u-bookmark/u-mention h-cites with author h-cards; source's own url and published (migration 014) - dt-* and Micropub published in RFC 3339 UTC - Title only for a real Markdown heading (hashtag notes stay notes) - Ignore webmentions from a note's own syndicated copies - Micropub/IndieAuth links independent of Webmention; rel=me/rel=author - Representative h-card and authorship algorithm (starpunk/mf2_utils.py) - Tag/likes h-feeds get url and author; previews get u-uid Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
940 B
HTML
29 lines
940 B
HTML
{% extends "base.html" %}
|
|
{% from "partials/note_preview.html" import note_preview %}
|
|
|
|
{% block title %}{{ tag.display_name }} · {{ config.SITE_NAME }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="h-feed">
|
|
<h1 class="p-name page-title">Notes tagged <span class="tag-name">{{ tag.display_name }}</span></h1>
|
|
|
|
{# Feed URL and author, as on the home page (v2.8.0) #}
|
|
<a class="u-url" href="{{ absolute_url_for(request.endpoint, **request.view_args) }}" hidden>Feed URL</a>
|
|
{% if author %}
|
|
<span class="p-author h-card" hidden><a class="p-name u-url" href="{{ author.url or author.me }}">{{ author.name or author.url or author.me }}</a></span>
|
|
{% endif %}
|
|
|
|
{% if notes %}
|
|
{% for note in notes %}
|
|
{{ note_preview(note, author) }}
|
|
{% endfor %}
|
|
{% else %}
|
|
<p class="empty-state">No notes with this tag.</p>
|
|
{% endif %}
|
|
|
|
<nav class="note-nav">
|
|
<a href="/">← All notes</a>
|
|
</nav>
|
|
</div>
|
|
{% endblock %}
|