Files
indiekit-endpoint-microsub/views/partials/author.njk
Ricardo 4819c229cd feat: restore full microsub implementation with reader UI
Restores complete implementation from feat/endpoint-microsub branch:
- Reader UI with views (reader.njk, channel.njk, feeds.njk, etc.)
- Feed polling, parsing, and normalization
- WebSub subscriber
- SSE realtime updates
- Redis caching
- Search indexing
- Media proxy
- Webmention processing
2026-02-06 20:20:25 +01:00

18 lines
464 B
Plaintext

{# Author display #}
{% if author %}
<div class="author">
{% if author.photo %}
<img src="{{ author.photo }}" alt="" class="author__photo" width="48" height="48" loading="lazy">
{% endif %}
<div class="author__info">
<span class="author__name">
{% if author.url %}
<a href="{{ author.url }}">{{ author.name or author.url }}</a>
{% else %}
{{ author.name or "Unknown" }}
{% endif %}
</span>
</div>
</div>
{% endif %}