summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/archives/homepage.html6
-rw-r--r--templates/archives/photos.html2
-rw-r--r--templates/archives/writing.html2
-rw-r--r--templates/base.html3
-rw-r--r--templates/bin/recent_entries.html2
-rw-r--r--templates/details/national-parks.html2
6 files changed, 8 insertions, 9 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%}
diff --git a/templates/base.html b/templates/base.html
index fcc8512..75a1f9c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -8,8 +8,7 @@
<title>{% block pagetitle %}Luxagraf - Topografical Writings{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if IE]>
- <script src="{{MEDIA_URL}}js/html5.js"></script>
- <script src="{{MEDIA_URL}}js/css3-mediaqueries.js"></script>
+ <script src="{{MEDIA_URL}}js/html5css3ie.min.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="alternate"
diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html
index c585245..0ee93b6 100644
--- a/templates/bin/recent_entries.html
+++ b/templates/bin/recent_entries.html
@@ -7,7 +7,7 @@
</span> &nbsp;
<time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time>
</p>
- {%if object.thumbnail%}<img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" />{%endif%}
+ {%if object.thumbnail%}<img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" width="{{object.thumb_width}}" height="{{object.thumb_height}}" />{%endif%}
<p class="hyphenate">{{object.dek|safe}}</p>
<span class="button"><a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}">More&nbsp;&raquo;</a></span>
</article>{% endfor %}
diff --git a/templates/details/national-parks.html b/templates/details/national-parks.html
index 7fa2873..2fefd28 100644
--- a/templates/details/national-parks.html
+++ b/templates/details/national-parks.html
@@ -28,7 +28,7 @@
<article id="park-{{forloop.counter}}">
<h1>{{object.name}}</h1>
<div class="figure">
- <img src="{{object.image.url}}" alt="{{object.title}}" />
+ <img src="{{object.image.url}}" alt="{{object.title}}" width="{{object.image_width}}" height="{{object.image_height}}" />
</div>
<div class="legend">
<h2>{{object.tag_line}}</h2>