Browse Source

Merge branch 'add_replies_link' into 'develop'

Add RFC4685 replies link to Atom feed

See merge request tildes/tildes!156
merge-requests/156/merge
Simon 1 day ago
parent
commit
39e9059dfa
  1. 5
      tildes/tildes/templates/topic_listing.atom.jinja2

5
tildes/tildes/templates/topic_listing.atom.jinja2

@ -16,6 +16,11 @@
{% else %}
<link rel="alternate" href="{{ topic.permalink_absolute }}"/>
{% endif %}
<link
rel="replies"
type="text/html"
thr:count="{{ topic.num_comments }}"
href="{{ topic.permalink_absolute }}"/>
<content type="html"><![CDATA[
{% if topic.is_link_type %}
<p>Link URL: <a href="{{ topic.link }}">{{ topic.link }}</a></p>

Loading…
Cancel
Save