aboutsummaryrefslogtreecommitdiffstats
path: root/templates/aggregator/post_content.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/aggregator/post_content.html')
-rw-r--r--templates/aggregator/post_content.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/aggregator/post_content.html b/templates/aggregator/post_content.html
new file mode 100644
index 0000000..36b419d
--- /dev/null
+++ b/templates/aggregator/post_content.html
@@ -0,0 +1,28 @@
+<div class="post {{ post.feed.name|slugify }}">
+ <h3>
+ <a href="/post/{{ post.pk }}/"><img src="{{ post.feed.get_favicon_url }}" /></a>
+ <a href="/post/{{ post.pk }}/">
+ {% if post.feed.uses_title %}
+ {{ post.title }}
+ {% else %}
+ {{ post.updated }}
+ {% endif %}
+ </a>
+ </h3>
+ <div class="postsubtitle">
+ Via
+ <a href="{{ post.feed.base_url }}">{{ post.feed.name }}</a>
+ (<a href="{{ post.feed.get_profile_url }}">profile</a>,
+ <a href="{{ post.remote_url }}">origin</a>)
+ </div>
+
+ <div class="postcontent">
+ {% autoescape off %}
+ {% if post.feed.br2nl %}
+ {{ post.body|linebreaks }}
+ {% else %}
+ {{ post.body }}
+ {% endif %}
+ {% endautoescape %}
+ </div>
+</div>