mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
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
18 lines
464 B
Plaintext
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 %}
|