draw the rest of the owl
This commit is contained in:
19
app/templates/threads/thread.atom
Normal file
19
app/templates/threads/thread.atom
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends 'base.atom' %}
|
||||
{% from 'common/macros.html' import rss_html_content %}
|
||||
{% block title %}replies to {{thread.title}}{% endblock %}
|
||||
{% block canonical_link %}{{url_for('threads.thread', slug=thread.slug, _external=true)}}{% endblock %}
|
||||
{% block content %}
|
||||
{% for post in posts %}
|
||||
{% set post_url = get_post_url(post.id, _anchor=true, external=true) %}
|
||||
<entry>
|
||||
<title>Re: {{ thread.title }}</title>
|
||||
<link href="{{ post_url }}"/>
|
||||
<id>{{ post_url }}</id>
|
||||
<updated>{{ post.edited_at | iso8601 }}</updated>
|
||||
{{rss_html_content(post.content_rss)}}
|
||||
<author>
|
||||
<name>{{ post.display_name }} @{{ post.username }}</name>
|
||||
</author>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from 'common/macros.html' import pager, babycode_editor_form, full_post, bookmark_button %}
|
||||
{% from 'common/macros.html' import pager, babycode_editor_form, full_post, bookmark_button, rss_button %}
|
||||
{% from 'common/icons.html' import icn_bookmark %}
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ thread.title }}{% endblock %}
|
||||
@@ -53,6 +53,7 @@
|
||||
<input class="warn" type="submit" value="Move thread">
|
||||
</form>
|
||||
{% endif %}
|
||||
{{ rss_button(url_for('threads.thread_atom', slug=thread.slug)) }}
|
||||
</div>
|
||||
</nav>
|
||||
{% for post in posts %}
|
||||
|
||||
Reference in New Issue
Block a user