blob: b39dab3e1ab34a34a75b617bb5f6c3ab6194b5a0 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{% extends 'base.html' %}
{% load typogrify_tags %}
{% load html5_datetime %}
{% block pagetitle %} Notes | luxagraf {% endblock %}
{% block metadescription %} The LongHandPixels Blog Archive, covering HTML, CSS and other web nerdery.{% endblock %}
{%block bodyid%}class="notes" id="notes-archive"{%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> → </li>
<li>Notes</li>
</ul>
<main role="main">
<h1>Notes</h1>
{% for object in object_list %}
<article class="h-entry">
<div class="p-name e-content">
{{object.link_twitter_names|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>
<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>
</p>{% if object.location %}
<p class="p-location 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.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 %}{% 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}}">
<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 %}
</footer>
</article>
{% endfor %}
</main>
{% endblock %}
|