summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-05-22 14:53:42 +0000
committerluxagraf <sng@luxagraf.net>2014-05-22 14:53:42 +0000
commiteebf53322e0d19be42e41d8f355c5d2a744441ae (patch)
tree706be25717b94d94d392c38462d23edaacf5c6c3 /design
parentf787e348df5aae0d53053b3e4cce3fb1ffbeccb2 (diff)
tweaked entry template
Diffstat (limited to 'design')
-rw-r--r--design/templates/details/entry.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index b214b4e..d227fa2 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -8,7 +8,7 @@
<link rel="canonical" href="http://luxagraf.net{{object.get_absolute_url}}" />
<meta name="ICBM" content="{{object.latitude}}, {{object.longitude}}" />
<meta name="geo.position" content="{{object.latitude}}; {{object.longitude}}" />
- <meta name="geo.placename" content="{% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state}}{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%}">
+ <meta name="geo.placename" content="{% if object.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 htmlclass%}{% with object.template_name as t %}
@@ -21,7 +21,7 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en
<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}}</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%}
+ {% 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>
{%comment%} &nbsp;&nbsp;(<a href="" title="">Map</a>, <a href="" title="">Photos</a>){%endcomment%}