summaryrefslogtreecommitdiff
path: root/templates/bin
diff options
context:
space:
mode:
authorluxagraf <luxagraf@gmail.com>2011-08-16 22:07:54 -0400
committerluxagraf <luxagraf@gmail.com>2011-08-16 22:07:54 -0400
commit0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (patch)
treefbcb1ccee6512aa91b665f231a4405ecedef439f /templates/bin
parent5e76a7bbb5d114ecd310ad3f408c33331a072037 (diff)
cleaned up html in archives, eliminated some nav and section tags
Diffstat (limited to 'templates/bin')
-rw-r--r--templates/bin/map_sidebar.html48
-rw-r--r--templates/bin/recent_entries.html2
2 files changed, 24 insertions, 26 deletions
diff --git a/templates/bin/map_sidebar.html b/templates/bin/map_sidebar.html
index 635c522..e61852f 100644
--- a/templates/bin/map_sidebar.html
+++ b/templates/bin/map_sidebar.html
@@ -1,25 +1,23 @@
-{% load truncateletters %}
-{% load slugify_under %}
-<div class="map-legend">
- <h4>Trips</h4>
- <ul>
- {% for route in route_list %}
- <li><a onclick="showRoute('{{route.template_var_name}}', {{route.zoom}}, '{{route.geometry.centroid.y}}','{{route.geometry.centroid.x}}');" href="#" title="show {{route.name}} on map">{{route.name}}</a></li>
- {% endfor %}
- </ul>
- <h4>Regions</h4>
- <ul>
- {%for region in region_list %}
- <li><a href="#{{region.slug}}" onclick="focusCountry({{region.lat}}, {{region.lon}}, {{region.zoom_level}});" title="See all writing from {{region.name|title}}">{{region.name}}</a></li>
- {% endfor %}
- </ul>
-
- <h4>Countries</h4>
- <ul>
- <li><a onclick="focusCountry(19.311143,2.460938,2);" href="#" title="view all countries">All</a></li>
- {%for country in country_list %}
- <li><a href="#{{country.slug}}" onclick="focusCountry({{country.lat}}, {{country.lon}}, {{country.zoom_level}});" title="See all writing from {{country.name|title}}">{{country.name}}</a></li>
- {% endfor %}
- </ul>
-
-</div> \ No newline at end of file
+{% load truncateletters %}{% load slugify_under %}<div class="map-legend">
+ <h4>Trips</h4>
+ <ul>
+ {% for route in route_list %}
+ <li><a onclick="showRoute('{{route.template_var_name}}', {{route.zoom}}, '{{route.geometry.centroid.y}}','{{route.geometry.centroid.x}}');" href="#" title="show {{route.name}} on map">{{route.name}}</a></li>
+ {% endfor %}
+ </ul>
+ <h4>Regions</h4>
+ <ul>
+ {%for region in region_list %}
+ <li><a href="#{{region.slug}}" onclick="focusCountry({{region.lat}}, {{region.lon}}, {{region.zoom_level}});" title="See all writing from {{region.name|title}}">{{region.name}}</a></li>
+ {% endfor %}
+ </ul>
+
+ <h4>Countries</h4>
+ <ul>
+ <li><a onclick="focusCountry(19.311143,2.460938,2);" href="#" title="view all countries">All</a></li>
+ {%for country in country_list %}
+ <li><a href="#{{country.slug}}" onclick="focusCountry({{country.lat}}, {{country.lon}}, {{country.zoom_level}});" title="See all writing from {{country.name|title}}">{{country.name}}</a></li>
+ {% endfor %}
+ </ul>
+
+ </div>
diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html
index 0cf3034..f86d6f2 100644
--- a/templates/bin/recent_entries.html
+++ b/templates/bin/recent_entries.html
@@ -5,7 +5,7 @@
<meta itemprop="latitude" content="{{object.latitude}}" />
<meta itemprop="longitude" content="{{object.longitude}}" />
</span> &nbsp;
- <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time>
+ <time datetime="{{object.pub_date|date:'c'}}" pubdate>{{object.pub_date|date:"m/d/y"}}</time>
</p>
{%if object.thumbnail%}<a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" width="{{object.thumb_width}}" height="{{object.thumb_height}}" /></a>{%endif%}
<p class="hyphenate">{{object.dek|safe}}</p>