diff options
author | Tom Willemsen | 2012-03-12 01:45:07 +0100 |
---|---|---|
committer | Tom Willemsen | 2012-03-12 01:45:07 +0100 |
commit | 2dab9254e1da14db38c0862c44bace2ad4993bda (patch) | |
tree | 4060d2945c838718a3279278bd0c58d48ee8a295 /templates/aggregator/post_content.html | |
parent | 68d0a20fffa78b813a64c4d7c2faf60f46646e03 (diff) | |
download | ryuslash.org-2dab9254e1da14db38c0862c44bace2ad4993bda.tar.gz ryuslash.org-2dab9254e1da14db38c0862c44bace2ad4993bda.zip |
Add seperate page per post
Diffstat (limited to 'templates/aggregator/post_content.html')
-rw-r--r-- | templates/aggregator/post_content.html | 28 |
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> |