summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-04 10:17:43 -0700
committerAndrew Godwin2022-12-04 10:17:43 -0700
commitffda9c4913370ee84fa156e4fff07913b6d9448f (patch)
tree74a4455886548d64ba097e7d935c3ba21e76f7bd /templates
parentec1848e0956c467f264614037ad53b26e99086f6 (diff)
downloadtakahe-ffda9c4913370ee84fa156e4fff07913b6d9448f.tar.gz
takahe-ffda9c4913370ee84fa156e4fff07913b6d9448f.tar.bz2
takahe-ffda9c4913370ee84fa156e4fff07913b6d9448f.zip
Link RSS feed in identity page head
Diffstat (limited to 'templates')
-rw-r--r--templates/identity/view.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html
index 85a1b08..612e3d2 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -2,6 +2,12 @@
{% block title %}{{ identity }}{% endblock %}
+{% block extra_head %}
+ {% if identity.local %}
+ <link rel="alternate" type="application/rss+xml" title="RSS feed for {{ identity.name }}" href="rss/" />
+ {% endif %}
+{% endblock %}
+
{% block body_class %}has-banner{% endblock %}
{% block content %}