From 0bac6f393845e66c22ab26f187d844dde8645c7e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 30 Jan 2021 12:12:16 -0500 Subject: lttr: added new design for Range signup page and added to main menu --- app/lttr/templates/lttr/range_list.html | 30 +++++++++++++++++++----------- design/templates/base.html | 2 +- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/app/lttr/templates/lttr/range_list.html b/app/lttr/templates/lttr/range_list.html index 9810c3a..74cc782 100644 --- a/app/lttr/templates/lttr/range_list.html +++ b/app/lttr/templates/lttr/range_list.html @@ -4,7 +4,15 @@ {% block metadescription %}A weekly photo, developed.{% endblock %} {% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} {% block primary %} -
+
{% for object in object_list %}{% if forloop.first %} +
+ {%with image=object.featured_image%} + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} + {%endwith%}{%endif%}{%endfor%} +

Range

A weekly photo, developed.

@@ -14,17 +22,17 @@

Yes, I know about Instagram. This is an attempt to reclaim that space, sharing photos with friends, but without all the distractions of the corporate social web, without the endless scroll of photos, likes, stories, comments, whatever. This is just an image delivered once a week to your inbox. I've been trying to think of a way to make it reciprocal, so you can send a picture to my inbox. If you have ideas, email me.

Unsubscribing is easy. It's self-hosted and respects your privacy. If you don't want an email, there's also an RSS feed, and it's all archived below.

-

Images

- + +

{{object.title|safe|smartypants|widont}}

+ + + {% endfor %}
{%endblock%} diff --git a/design/templates/base.html b/design/templates/base.html index 3b9dd31..871bcfa 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -31,8 +31,8 @@ {% block breadcrumbs %}{% endblock %} -- cgit v1.2.3