add post rss url in user home page

This commit is contained in:
Henri Dickson 2025-01-28 22:49:58 -05:00 committed by GitHub
parent 2eff282fe5
commit 9dc81968cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,11 +17,18 @@
<meta property="og:url" content="{{ identity.url }}">
<meta property="og:image" content="{{ identity.avatar }}">
<meta property="og:site_name" content="{{ site_name }}">
{% if not identity.anonymous_viewable %}<meta name="robots" content="noindex">{% endif %}
<link rel="alternate"
type="application/rss+xml"
title="{{ site_name }} - @{{ identity.handle }} - Reviews"
href="{{ identity.url }}feed/reviews/">
{% if identity.local and identity.anonymous_viewable %}
<link rel="alternate"
type="application/rss+xml"
title="{{ site_name }} - @{{ identity.handle }} - Posts"
href="/@{{ identity.full_handle }}/rss/" />
<link rel="alternate"
type="application/rss+xml"
title="{{ site_name }} - @{{ identity.handle }} - Reviews"
href="{{ identity.url }}feed/reviews/">
{% else %}
<meta name="robots" content="noindex">
{% endif %}
{% include "common_libs.html" %}
<script src="{% static 'js/calendar_yearview_blocks.js' %}" defer></script>
<link href="{% static 'css/calendar_yearview_blocks.css' %}"
@ -222,7 +229,7 @@
{% include "_sidebar.html" with show_progress=1 show_profile=1 %}
</main>
{% include "_footer.html" %}
{% if identity.user and identity.user.mastodon %}
{% if identity.local and identity.user.mastodon %}
<a href="{{ identity.user.mastodon.url }}" rel="me" style="display:none">Mastodon verification</a>
{% endif %}
</body>