summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2011-01-14 11:19:05 -0500
committerluxagraf <sng@luxagraf.net>2011-01-14 11:19:05 -0500
commit13a5fc1da53852349fcf0914a74ea235164a5e28 (patch)
tree8098e1058cae1334303d3239f6ccfef03e573d1f /templates
parent9b1aa6f9633a507908442821b3769cfd39cc2852 (diff)
reworking the mobile stylesheet
Diffstat (limited to 'templates')
-rw-r--r--templates/archives/homepage.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html
index 898ca01..95f2fd6 100644
--- a/templates/archives/homepage.html
+++ b/templates/archives/homepage.html
@@ -11,13 +11,16 @@
{% block primary %}<section id="featured" class="archive">
<article id="featured-intro">
<h1><a href="{{featured.get_absolute_url}}" title="{%if featured.title_keywords%}{{featured.title_keywords}}{%else%}{{featured.title}}{%endif%}">{{featured.title|smartypants|widont|safe}}</a></h1>
+ <div class="img">
+ <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" /></a>
+ </div>
<p class="dateline">
- <span class="location">{% if featured.location.state.country.name == "United States" %}{{featured.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.location.state.name}}</a>{%else%}{{featured.location.name|smartypants|safe}}, <a href="/writing/{{featured.location.state.country.slug}}/1/" title="travel writing from {{featured.location.state.country.name}}">{{featured.location.state.country.name}}</a>{%endif%}</span> &nbsp;
+ <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/​Geo">{% if featured.location.state.country.name == "United States" %}{{featured.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.location.state.name}}</a>{%else%}{{featured.location.name|smartypants|safe}}, <a href="/writing/{{featured.location.state.country.slug}}/1/" title="travel writing from {{featured.location.state.country.name}}">{{featured.location.state.country.name}}</a>{%endif%}
+ <meta itemprop="latitude" content="{{featured.latitude}}" />
+ <meta itemprop="longitude" content="{{featured.longitude}}" /></span> &nbsp;
<time datetime="{{featured.pub_date|date:'c'}}">{{featured.pub_date|date:"m/d/y"}}</time>
</p>
- <div id="featured-image">
- <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" /></a>
- </div>
+
<p class="hyphenate">{{featured.dek|safe}} <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More &raquo;</a></span> </p>
</article>