summaryrefslogtreecommitdiff
path: root/design/templates/archives/notes_date.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/notes_date.html')
-rw-r--r--design/templates/archives/notes_date.html74
1 files changed, 0 insertions, 74 deletions
diff --git a/design/templates/archives/notes_date.html b/design/templates/archives/notes_date.html
deleted file mode 100644
index be41176..0000000
--- a/design/templates/archives/notes_date.html
+++ /dev/null
@@ -1,74 +0,0 @@
-{% extends 'base.html' %}
-{% load typogrify_tags %}
-{% load html5_datetime %}
-{% load month_number_to_name %}
-{% block pagetitle %} Field Notes Published in {% if month %}{{month}}{%endif%} {{year}} | luxagraf{% endblock %}
-{% block bodyid %}class="notes" id="archive-{% if month %}{{month}}{%endif%}{{year}}"{%endblock%}
-{% block primary %}<ul class="bl crumbs" 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><a href="/field-notes/" itemprop="url"><span itemprop="title">Field Notes</span></a> &rarr;</li>
- <li>{% if not month %}{{year|date:"Y"}}{%else%}<a href="/field-notes/{{month|date:"Y"}}/">{{month|date:"Y"}}</a> &rarr;{%endif%}</li>
- {% if month %}<li itemprop="title">{{month|date:"F"}}</li>{% endif %}
- </ul>
- <main role="main">
-
- <h1>Field Notes Published in {% if not month %}{{year|date:"Y"}}{%else%} {{month|date:"F Y"}}{% endif %}</h1>{% if month %}{% for object in object_list %}</h1>
- <article class="h-entry post--article">
- {% if object.title %}<h1 class="p-name note--title"><a href="{{object.get_absolute_url}}" class="permalink">{{object.title|safe|amp|smartypants}}</a></h1>{%endif%}
- <div class="e-content">
- {{object.body_html|safe|smartypants}}
- </div>
- <span class="p-author h-card">
- <data class="p-name" value="Scott Gilbertson"></data>
- <data class="u-url" value="https://luxagraf.net/"></data>
- </span>
- <footer>
- {% if object.location %}
- <p class="p-location h-adr note--location bl" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">
- <span class="p-locality">{{object.location.name|smartypants|safe}}</span>,
- <span class="p-region">{{object.location.state.name}}</span>,
- <span class="p-country-name">{{object.location.state.country.name}}</span>
- <data class="p-latitude" value="{{object.latitude}}"></data>
- <data class="p-longitude" value="{{object.longitude}}"></data>
- </p>{% endif %}
-
- <p class="note--date">
- <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a>
- </p>
- </footer>
- </article>
- {% endfor %}
- {% else %}
-{% regroup object_list by pub_date.month as entries_by_month %}{% for month in entries_by_month %}
- <section class="month--divider">
- <h2 class="month--header">{{ month.list.0.pub_date|date:"F Y" }}</h2>{% for object in month.list|dictsortreversed:"pub_date" %}
- <article class="h-entry post--article">
- {% if object.title %}<h1 class="p-name note--title"><a href="{{object.get_absolute_url}}" class="permalink">{{object.title|safe|amp|smartypants}}</a></h1>{%endif%}
- <div class="e-content">
- {{object.body_html|safe|smartypants}}
- </div>
- <span class="p-author h-card">
- <data class="p-name" value="Scott Gilbertson"></data>
- <data class="u-url" value="https://luxagraf.net/"></data>
- </span>
- <footer>
- {% if object.location %}
- <p class="p-location h-adr note--location bl" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">
- <span class="p-locality">{{object.location.name|smartypants|safe}}</span>,
- <span class="p-region">{{object.location.state.name}}</span>,
- <span class="p-country-name">{{object.location.state.country.name}}</span>
- <data class="p-latitude" value="{{object.latitude}}"></data>
- <data class="p-longitude" value="{{object.longitude}}"></data>
- </p>{% endif %}
-
- <p class="note--date">
- <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a>
- </p>
- </footer>
- </article>
- {% endfor %}
- </section>
- {% endfor %}
- {% endif %}
- </main>
-{% endblock%}