Include meta link to RSS on the shared bookmarks page

This commit is contained in:
Tomasz Wesołowski 2024-11-17 19:09:46 +01:00
parent c3149409b0
commit bbd84b5148
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'apple-touch-icon.png' %}">
<link rel="mask-icon" href="{% static 'safari-pinned-tab.svg' %}" color="#5856e0">
<link rel="manifest" href="{% url 'bookmarks:manifest' %}">
{% if include_feed %}
<link rel="alternate" type="application/rss+xml" href="{% url 'bookmarks:feeds.public_shared' %}" />
{% endif %}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimal-ui">
<meta name="description" content="Self-hosted bookmark service">

View file

@ -104,6 +104,7 @@ def shared(request):
"tag_cloud": tag_cloud,
"details": bookmark_details,
"users": users,
"include_feed": True,
},
)