21 lines
1014 B
Plaintext
21 lines
1014 B
Plaintext
{% extends 'base.atom' %}
|
|
{% from 'common/macros.html' import rss_html_content %}
|
|
{% block title %}latest threads in {{target_topic.name}}{% endblock %}
|
|
{% block canonical_link %}{{url_for('topics.topic', slug=target_topic.slug, _external=true)}}{% endblock %}
|
|
{% block content %}
|
|
<subtitle>{{ target_topic.description }}</subtitle>
|
|
{% for thread in threads_list %}
|
|
<entry>
|
|
<title>[new thread] {{ thread.title | escape }}</title>
|
|
<link href="{{ url_for('threads.thread', slug=thread.slug, _external=true)}}" />
|
|
<link rel="replies" type="application/atom+xml" href="{{ url_for('threads.thread_atom', slug=thread.slug, _external=true)}}" />
|
|
<id>{{ url_for('threads.thread', slug=thread.slug, _external=true)}}</id>
|
|
<updated>{{ thread.created_at | iso8601 }}</updated>
|
|
{{rss_html_content(thread.original_post_content)}}
|
|
<author>
|
|
<name>{{thread.started_by_display_name}} @{{ thread.started_by }}</name>
|
|
</author>
|
|
</entry>
|
|
{% endfor %}
|
|
{% endblock %}
|