summaryrefslogtreecommitdiff
path: root/design/templates/lttr/subscriber_form.html
blob: 3fb906a50b2deba83f50e819aadce17c0401e76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends 'base.html' %}
{% load typogrify_tags %}

{% block pagetitle %}Luxagraf | Friends of a Long Year {% endblock %}
{% block metadescription %}An infrequesnt mailing list about travel, photography, tools, walking, the natural world and other ephemera.{% endblock %}

{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
    <li>Lttr</li>
    </ul>
    <main role="main" id="essay-archive" class="essay-archive archive-list">
        <div class="essay-intro">
            <h2>Join the <em>Friends of a Long Year</em>.</h2>
            <form action="" method="post" class="generic-form flex">{% csrf_token %}
                {% for field in form %}
                <fieldset>
                    {{field.label_tag}}
                    {{field}}
                </fieldset>
                {% if forloop.last %}<input type="submit" name="post" class="submit-post btn btn-hollow" value="Subscribe" />{%endif%}
            </form>
            <small class="alert">{% if field.errors %}{{field.errors}}{% endif %}</small>
                {%endfor%}
            <p>Say what? <em>Friends of a Long Year</em> is an infrequent mailing that will keep you up-to-date with luxagraf and offer some thoughts on topics like travel, photography, the natural world, tools, walking and other ephemera. It comes about twice a month, sometimes less, sometimes more. Unsubscribing is easy. It's all self-hosted, secure, and <a href="/privacy" title="My privacy policy">private</a>.</p>
            <p>The name comes from the great early 20th century explorer and desert rat, Mary Hunter Austin, whose collected essays, <a href="https://archive.org/details/lostbordersillu00brotgoog/page/n8"><cite>Lost Borders</cite></a> is dedicated to the "Friends of a Long Year". This somewhat inscrutable dedication grabbed me, and seemed like the perfect name for this mailing list.</p>
        </div>
        <h1 class="topic-hed">Letters</h1>
    <ul>{% for object in object_list %}
        <li class="h-entry hentry" itemscope itemType="http://schema.org/Article">
            <span class="date dt-published">{{object.pub_date|date:"F Y"}}</span>
            <a href="{{object.get_absolute_url}}">
            <h2>{{object.title|safe|smartypants|widont}}</h2>
            <p class="p-summary">{% if object.sub_title %}{{object.sub_title|safe|smartypants}}{%else%}{{object.metadescription}}{%endif%}</p>
            </a>
        </li>
        {%endfor%}</ul>
    </main>
{%endblock%}