summaryrefslogtreecommitdiff
path: root/design/templates/lib/friends_featured_img.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 14:54:09 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 14:54:09 -0500
commit52c80b30dc84d85cbad2fe317d1058e6a0c58803 (patch)
tree1b9a56cd06879763bbe9f724d46a46ff54b28c8b /design/templates/lib/friends_featured_img.html
parent1cfbf44615d5053e6e200972ff74ade38e7d7c31 (diff)
finished up newsletter formatting and delivery. Just need to clean up
the rough edges
Diffstat (limited to 'design/templates/lib/friends_featured_img.html')
-rw-r--r--design/templates/lib/friends_featured_img.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/design/templates/lib/friends_featured_img.html b/design/templates/lib/friends_featured_img.html
new file mode 100644
index 0000000..1d9522a
--- /dev/null
+++ b/design/templates/lib/friends_featured_img.html
@@ -0,0 +1,5 @@
+<img sizes="(max-width: 728px) 100vw, (min-width: 729px) 520px"
+ srcset="https://luxagraf.net{{image.get_featured_jrnl}} 520w, https://luxagraf.net{{image.get_picwide_sm}} 720w"
+ src="https://luxagraf.net{{image.get_picwide_sm}}"
+ alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"
+ style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;max-width:94%; border:40px solid #f4f2f0;" />