summaryrefslogtreecommitdiff
path: root/design/templates/details/note.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/details/note.html')
-rw-r--r--design/templates/details/note.html37
1 files changed, 21 insertions, 16 deletions
diff --git a/design/templates/details/note.html b/design/templates/details/note.html
index 66dff36..87a1e25 100644
--- a/design/templates/details/note.html
+++ b/design/templates/details/note.html
@@ -12,22 +12,23 @@
<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="notes permalink" id="archive-{% if month %}{{month|month_number_to_name}}{%endif%}{{year}}"{%endblock%}
+{% block bodyid %}class="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">
+ <h1 class="p-name note--title hide">{{object.title|safe|amp|smartypants}}</h1>
+ <div class="e-content">
{{object.render|safe|amp|smartypants|urlizetrunc:45 }}
</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>
+ <footer class="note--footer">
<p class="note--date">
- <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.date_created|html5_datetime}}">{{object.date_created|date:"d M y"}}</time></a>
+ <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.date_created|html5_datetime}}">{{object.date_created|date:"F j, Y"}}</time></a>
</p>{% 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>,
@@ -35,19 +36,23 @@
<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 %}{% if object.twitter_id %}
- <p class="note--twitter">
- <a rel="syndication" class="u-syndication" href="https://twitter.com/luxagraf/status/{{object.twitter_id}}">View on Twitter</a>
- <action do="reply" with="{{SITE_URL}}{{object.get_absolute_url}}">
- <a href="https://twitter.com/intent/tweet?in_reply_to={{object.twitter_id}}">Reply</a>
- </action>
- <action do="post" with="{{SITE_URL}}{{object.get_absolute_url}}">
+ </p>{% endif %}{% if object.twitter_id %}
+ <ul class="note--actions">
+ <li><a rel="syndication" class="u-syndication" href="https://twitter.com/luxagraf/status/{{object.twitter_id}}">View on Twitter</a></li>
+ <li>
+ <action do="reply" with="{{SITE_URL}}{{object.get_absolute_url}}"><a href="https://twitter.com/intent/tweet?in_reply_to={{object.twitter_id}}">Reply</a></action>
+ </li>
+ <li>
+ <action do="post" with="{{SITE_URL}}{{object.get_absolute_url}}">
<a href="https://twitter.com/intent/retweet?tweet_id={{object.twitter_id}}">Retweet</a>
- </action>
- <action do="bookmark" with="{{SITE_URL}}{{object.get_absolute_url}}">
- <a href="https://twitter.com/intent/favorite?tweet_id={{object.twitter_id}}">Favourite</a>
- </action>
- </p>{% endif %}
+ </action>
+ </li>
+ <li>
+ <action do="bookmark" with="{{SITE_URL}}{{object.get_absolute_url}}">
+ <a href="https://twitter.com/intent/favorite?tweet_id={{object.twitter_id}}">Favourite</a>
+ </action>
+ </li>
+ </ul>{% endif %}
</footer>
{% with object.get_next_published as next %}