summaryrefslogtreecommitdiff
path: root/templates/archives
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archives')
-rw-r--r--templates/archives/homepage.html6
-rw-r--r--templates/archives/photos.html2
-rw-r--r--templates/archives/writing.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html
index 95f2fd6..423474b 100644
--- a/templates/archives/homepage.html
+++ b/templates/archives/homepage.html
@@ -8,11 +8,11 @@
{%block bodyid%}id="home"{%endblock%}
-{% block primary %}<section id="featured" class="archive">
- <article id="featured-intro">
+{% block primary %}<section class="archive">
+ <article>
<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>
+ <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" width="{{featured.image_width}}" height="{{featured.image_height}}" /></a>
</div>
<p class="dateline">
<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%}
diff --git a/templates/archives/photos.html b/templates/archives/photos.html
index e8a881d..154be5a 100644
--- a/templates/archives/photos.html
+++ b/templates/archives/photos.html
@@ -21,7 +21,7 @@
<ul id="photo-galleries">{% autopaginate object_list 18 %} {% for object in object_list %}
<li>
<div class="figure">
- <a href="{{object.get_absolute_url}}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}"/></a>
+ <a href="{{object.get_absolute_url}}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}" width="291" height="350" /></a>
<div class="legend">
<h3>{{object.set_title}}</h3>
<p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p>
diff --git a/templates/archives/writing.html b/templates/archives/writing.html
index f950b8b..51dd13f 100644
--- a/templates/archives/writing.html
+++ b/templates/archives/writing.html
@@ -22,7 +22,7 @@
<article>
<h1><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h1>
<div class="img">
- <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="post-image" /></a>
+ <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" width="{{object.image_width}}" height="{{object.image_height}}" class="post-image" /></a>
</div>
<p class="dateline">
<span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/​Geo">{% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.location.state.name}}</a>{%else%}{{object.location.name|smartypants|safe}}, <a href="/writing/{{object.location.state.country.slug}}/1/" title="travel writing from {{object.location.state.country.name}}">{{object.location.state.country.name}}</a>{%endif%}