From c2e468347924f47bffca7ea50e090ef8bdcc00c4 Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Thu, 24 Sep 2015 15:44:22 +0000 Subject: [PATCH] support image proxying using atmos/camo --- woodwind/templates/_entry.jinja2 | 8 ++++---- woodwind/templates/feed.jinja2 | 1 - woodwind/views.py | 29 ++++++++++++++++++++++++++++- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/woodwind/templates/_entry.jinja2 b/woodwind/templates/_entry.jinja2 index dcc2b56..d728454 100644 --- a/woodwind/templates/_entry.jinja2 +++ b/woodwind/templates/_entry.jinja2 @@ -2,7 +2,7 @@
{% if context.author_photo %} - + {% endif %} {% if context.author_name %} {{ context.author_name }} - @@ -14,7 +14,7 @@ {% endif %} {% if context.content %}
- {{ context.content_cleaned | add_preview }} + {{ context.content_cleaned | proxy_all | add_preview }}
{% endif %}