diff options
author | luxagraf <sng@luxagraf.net> | 2014-05-26 11:56:59 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-05-26 11:56:59 -0400 |
commit | 8aaad31d807066d7340c094968d435a724ab32c8 (patch) | |
tree | 7a41732f8c7ee8434dc6753f3d06320063e48db5 /design/templates/details/entry.html | |
parent | 371b04c87136ee1926c488c6a499fbef472dd27a (diff) |
Added more microformats to writing archives and fixed a few "bugs" in
the title tags and page numbering
Diffstat (limited to 'design/templates/details/entry.html')
-rw-r--r-- | design/templates/details/entry.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index d227fa2..fc11228 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -16,14 +16,15 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en {% block primary %} - <article role="main" class="hentry h-entry"> + <article role="main" class="h-entry hentry"> <header> - <h1 class="entry-title p-name">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}</h1> - <time class="published updated dt-published" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> - <aside class="geo bl adr h-adr"> - {% if object.country.name == "United States" %}<span class="locality p-locality">{{object.location.name|smartypants|safe}}</span>, <a class="region p-region" ref="/writing/united-states/1/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="country-name p-country-name" href="/writing/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%} - <data class="p-latitude" value="{{object.latitude}}"></data> - <data class="p-longitude" value="{{object.longitude}}"></data> + <h1 class="p-name entry-title">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}</h1> + <time class="dt-published published updated" datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> + <p class="p-author hide">Scott Gilbertson</p> + <aside class="h-adr adr geo bl"> + {% if object.country.name == "United States" %}<span class="p-locality locality" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" ref="/writing/united-states/1/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/writing/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%} + <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data> + <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data> {%comment%} (<a href="" title="">Map</a>, <a href="" title="">Photos</a>){%endcomment%} </aside> </header> |