feat: show profile RSS in footer when viewing another user's profile

This commit is contained in:
2026-05-10 00:46:51 +02:00
parent 66f9ef887e
commit be30a1d77c
3 changed files with 12 additions and 1 deletions

View File

@@ -46,6 +46,10 @@
<span class="footer-made">Made with passion</span>
<span class="footer-sep">·</span>
<a href="/feed.rss" class="footer-link">RSS</a>
{% if let Some(rss) = ctx.page_rss_url %}
<span class="footer-sep">·</span>
<a href="{{ rss }}" class="footer-link">Profile RSS</a>
{% endif %}
{% if let Some(uid) = ctx.user_id %}
<span class="footer-sep">·</span>
<a href="/users/{{ uid }}" class="footer-link">My Profile</a>