diff options
Diffstat (limited to 'templates/bin')
-rw-r--r-- | templates/bin/map_sidebar.html | 4 | ||||
-rw-r--r-- | templates/bin/recent_entries.html | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/bin/map_sidebar.html b/templates/bin/map_sidebar.html index 18dd118..635c522 100644 --- a/templates/bin/map_sidebar.html +++ b/templates/bin/map_sidebar.html @@ -4,7 +4,7 @@ <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="#">{{route.name}}</a></li> + <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> @@ -16,7 +16,7 @@ <h4>Countries</h4> <ul> - <li><a onclick="focusCountry(19.311143,2.460938,2);" href="#">All</a></li> + <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 %} diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html index 0ee93b6..0cf3034 100644 --- a/templates/bin/recent_entries.html +++ b/templates/bin/recent_entries.html @@ -1,13 +1,13 @@ -{% load typogrify %}{% for object in object_list %}<article {%cycle '' 'class="mid"' %}> +{% load typogrify %}{% for object in object_list %}<article {%if forloop.last %}class="last"{%endif%}> <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> - <p class="dateline"> + <p class="dateline bl"> <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%} <meta itemprop="latitude" content="{{object.latitude}}" /> <meta itemprop="longitude" content="{{object.longitude}}" /> </span> <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" width="{{object.thumb_width}}" height="{{object.thumb_height}}" />{%endif%} + {%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> - <span class="button"><a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}">More »</a></span> - </article>{% endfor %} + </article> + {% endfor %} |