diff options
author | luxagraf <sng@luxagraf.net> | 2011-05-19 16:45:12 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-05-19 16:45:12 -0400 |
commit | c5805378d6864e63d432825c6453d24d716bd855 (patch) | |
tree | f5bad253b4c9d6a726862509920e77a32cbca9c1 /templates | |
parent | d393c88c21805502f5fd69a02b9a4592eaf0d735 (diff) |
added pubdate attribute totime element, added time element to photos page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/details/entry.html | 2 | ||||
-rw-r--r-- | templates/details/photo_galleries.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/details/entry.html b/templates/details/entry.html index 739be15..a5524d0 100644 --- a/templates/details/entry.html +++ b/templates/details/entry.html @@ -25,7 +25,7 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en <meta itemprop="longitude" content="{{object.longitude}}" /></span> {%comment%} (<a href="" title="">Map</a>, <a href="" title="">Photos</a>){%endcomment%} </aside> - <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> + <time datetime="{{object.pub_date|date:'c'}}" pubdate>{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> </header> <div class="post-body{% with object.template_name as t %}{%if t == 0 or t == 2 %}-single{%endif%}{%if t == 1 or t == 3 %}-double{%endif%}{%endwith%}"> {{object.body_html|smartypants|widont|safe}} diff --git a/templates/details/photo_galleries.html b/templates/details/photo_galleries.html index bb137b6..6e4f4d5 100644 --- a/templates/details/photo_galleries.html +++ b/templates/details/photo_galleries.html @@ -28,7 +28,7 @@ <div class="fig"><img src="{{photo.get_local_slideshow_url}}" alt="{{photo.title}}" title="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} height="{{photo.slideshowimage_height}}" width="{{photo.slideshowimage_width}}" /></div> <div class="figcaption"> <div class="caption" id="id-{{photo.id}}"> - <h3>{{photo.title}} <span>{{photo.exif_date|date:"M j, Y"}}</span></h3> + <h3>{{photo.title}} <time datetime="{{photo.exif_date|date:'c'}}" pubdate>{{photo.exif_date|date:"M j, Y"}}</time></h3> <a class="map-link" href="#" title="{{photo.lat}},{{photo.lon}},id-{{photo.id}}">Map</a> {%if photo.description %}<p>{{photo.description|safe}}</p> {%endif%} </div> |