summaryrefslogtreecommitdiff
path: root/design/templates/details
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/details')
-rw-r--r--design/templates/details/note.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/design/templates/details/note.html b/design/templates/details/note.html
index fab554c..f0d5cb0 100644
--- a/design/templates/details/note.html
+++ b/design/templates/details/note.html
@@ -12,24 +12,26 @@
<meta name="geo.placename" content="{% if object.location.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%}">
<meta name="geo.region" content="{{object.country.iso2}}{%if object.state.code != '' %}-{{object.state.code}}{%endif%}">
{%endblock%}
-
+{% block bodyid %}class="archive notes permalink" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%}
+
{% block primary %}
+ <main role="main">
<article class="h-entry">
<div class="p-name e-content">
{{object.link_twitter_names|safe|amp|smartypants|urlizetrunc:45 }}
</div>
- <footer>{% if object.location %}
+ <footer>
+ <p class="meta">
+ <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time datetime="{{object.date_created|html5_datetime}}">{{object.date_created|date:"d M Y"}}</time></a>
+ </p>{% if object.location %}
<p class="h-adr meta 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.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="meta">
- <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time datetime="{{object.date_created|html5_datetime}}">{{object.date_created|date:"d M Y"}}</time></a>
- </p>{% if object.twitter_id %}
+ </p>{% endif %}{% if object.twitter_id %}
<p class="meta">
<a rel="syndication" class="u-syndication" href="https://twitter.com/luxagraf/status/{{object.twitter_id}}">Twitter</a>
<a href="https://twitter.com/intent/tweet?in_reply_to={{object.twitter_id}}">Reply</a>
@@ -51,4 +53,5 @@
</ul>
</nav>{%endwith%}{%endwith%}
</article>
+</main>
{% endblock %}