diff options
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/archives/sightings.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/sightings.html b/design/templates/archives/sightings.html index 89e31ce..e9d4610 100644 --- a/design/templates/archives/sightings.html +++ b/design/templates/archives/sightings.html @@ -28,7 +28,7 @@ </figure> </div> <h3 class="post--title"><a href="{{object.ap.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.ap}}{%endif%}">{{object.ap|safe|smartypants|widont}}</a> (<span class="sci">{{object.ap.scientific_name}}</span>)</h3> - <time class="post--date" datetime="{{object.date|date:'c'}}">Seen: {{object.date|date:"F"}} <span>{{object.date|date:"j, Y"}}</span></time> + <time class="post--date" datetime="{{object.pub_date|date:'c'}}">Seen: {{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> <p> <span class="sighting location place post--location" itemscope itemtype="http://schema.org/Place">Loc: {% if object.country.name == "United States" %}<span class="p-locality locality">{{object.location.name|smartypants|safe}}</span>, {{object.state.name}}, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, {{object.country.name}}</a>{%endif%} |