diff options
Diffstat (limited to 'templates/archives')
-rw-r--r-- | templates/archives/homepage.html | 65 | ||||
-rw-r--r-- | templates/archives/map.html | 14 | ||||
-rw-r--r-- | templates/archives/photos.html | 44 | ||||
-rw-r--r-- | templates/archives/writing.html | 46 |
4 files changed, 72 insertions, 97 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index 7cb371e..a84563c 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -1,47 +1,36 @@ {% extends 'base.html' %} {% load typogrify %} +{%block extrahead%}<link rel="openid.server" + href="http://www.myopenid.com/server" > + <link rel="openid.delegate" + href="http://luxagraf.myopenid.com/" > + <meta name="verify-v1" content="ZCZSYGNdjeLCPx5trSQELyhY9kq9N7CznTcv5JFkpnM=">{%endblock%} {%block bodyid%}id="home"{%endblock%} -{% block primary %} - <article> - <section> - <ul id="writing-archive"> - <li> - <div id="featured-article"> - <h3><a href="{{featured.get_absolute_url}}" title="{%if featured.title_keywords%}{{featured.title_keywords}}{%else%}{{featured.title}}{%endif%}">{{featured.title|smartypants|widont|safe}}</a></h3> - - <p> - <span class="location">{% 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%}</span> - <time datetime="{{featured.pub_date}}">{{featured.pub_date|date:"m/d/y"}}</time> - </p> - - <p class="hyphenate">{{featured.dek|safe}}</p> - <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More »</a></span> - </div> - <div id="featured-image"> - <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" /></a> - </div> - - </li> - </ul> - - </section> - <!--<section id="currently"> +{% block primary %}<section id="featured"> + <article> + <div id="featured-intro"> + <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> + <p> + <span class="location">{% 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%}</span> + <time datetime="{{featured.pub_date|date:'c'}}">{{featured.pub_date|date:"m/d/y"}}</time> + </p> + <p class="hyphenate">{{featured.dek|safe}}</p> + <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More »</a></span> + </div> + <div id="featured-image"> + <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" /></a> + </div> + </article> + </section> + {%comment%}<section id="currently"> <div class="project-tease"><a href="/projects/5x5/"><h4 id="proj">5<span>x</span>5</h4> Interviews From The Road</a><p>Lorem sit amet, consectetur adipiscing elit. Duis cursus sodales eros <cite>– William Brandon III</cite></p></div> - </section>--> - - <section id="writing-tease"> - <h2>From the Archive</h2> - - </section> - <section id="fromthearc"> - {% include 'includes/recent_entries.html' %} - </section> - - </article> - - + </section>{%endcomment%} + <section id="archive"> + <h1>From the Archive</h1> + {% include 'includes/recent_entries.html' %} + </section> {% endblock %} {% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%}
\ No newline at end of file diff --git a/templates/archives/map.html b/templates/archives/map.html index f47b84d..0a002b9 100644 --- a/templates/archives/map.html +++ b/templates/archives/map.html @@ -23,16 +23,18 @@ Google Maps code -{% block primary %} - <article> +{% block primary %}<section id="page-header"> + <nav id="page-nav"> <ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <li><a href="/" itemprop="url" title="luxagraf homepage"><span itemprop="title">Home</span></a> →</li> <li>Map</li> </ul> - - <aside>{% include 'includes/map_sidebar.html' %} - </aside> + </nav> + </section> + <article> <div id="map-canvas"> </div> - </article> + <aside>{% include 'includes/map_sidebar.html' %} + </aside> + </article> {% endblock %}
\ No newline at end of file diff --git a/templates/archives/photos.html b/templates/archives/photos.html index 1eacf3c..eeb6451 100644 --- a/templates/archives/photos.html +++ b/templates/archives/photos.html @@ -8,33 +8,27 @@ {%block bodyid%}id="photo-archive"{%endblock%} -{% block primary %} - <article> - <h1>{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1> - +{% block primary %}<section id="page-header"> + <h1 class="hide">{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1> + <nav> <ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> →</li> {% if region %}{%if region.name == 'United States'%} <li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> →</li> - <li>the United States</li>{%else%}<li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> →</li> <li>{{region.name|title|smartypants|safe}}{%endif%}{%else%}Photos </li>{%endif%} + <li>the United States</li>{%else%}<li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> →</li> <li>{{region.name|title|smartypants|safe}}{%endif%}{%else%}<li>Photos </li>{%endif%} </ul> - - <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> - <span class="legend"> - <h3>{{object.set_title}}</h3> - <p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p> - </span> - </div> - </li>{% endfor %} - </ul> - - - - <section id="pagination"> - <ul>{% paginate %} - </ul> - </section> - </article> + </nav> + </section> + <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> + <div class="legend"> + <h3>{{object.set_title}}</h3> + <p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p> + </div> + </div> + </li>{% endfor %} + </ul> + <nav id="pagination">{% paginate %} + </nav> {% endblock %}
\ No newline at end of file diff --git a/templates/archives/writing.html b/templates/archives/writing.html index f05b34c..877ff58 100644 --- a/templates/archives/writing.html +++ b/templates/archives/writing.html @@ -7,44 +7,34 @@ {%block bodyid%}id="writing"{%endblock%} -{% block primary %} - <article> - <h1 class="hide">{% if region %}Writings from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Writing {%endif%}</h1> - - <ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> - <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> - {% if region %}{%if region.name == 'United States'%} <li><a href="/writing/" title="See all Writing" itemprop="url"><span itemprop="title">Writing</span></a> →</li> - <li itemprop="title">the United States</li>{%else%}<li><a href="/writing/" title="See all Writing" itemprop="url"><span>Writing</span></a> →</li> - <li>{{region.name|title|smartypants|safe}}</li>{%endif%}{%else%}Writing </li>{%endif%} - </ul> - - <ul id="writing-archive"> - {% autopaginate object_list 10 %} - {% for object in object_list %} - <li> +{% block primary %}<section id="page-header"> + <h1 class="hide">{% if region %}Writings from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Writing {%endif%}</h1> + <nav id="page-nav"> + <ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> + <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> + {% if region %}{%if region.name == 'United States'%} <li><a href="/writing/" title="See all Writing" itemprop="url"><span itemprop="title">Writing</span></a> →</li> + <li itemprop="title">the United States</li>{%else%}<li><a href="/writing/" title="See all Writing" itemprop="url"><span>Writing</span></a> →</li> + <li>{{region.name|title|smartypants|safe}}</li>{%endif%}{%else%}<li>Writing </li>{%endif%} + </ul> + </nav> + </section> + <section id="writing-archive"> {% autopaginate object_list 10 %} {% for object in object_list %} + <article> <div> - <h3><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h3> - + <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> <span class="location">{% 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%}</span> - <time datetime="{{object.pub_date}}">{{object.pub_date|date:"m/d/y"}}</time> + <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time> </p> - <p class="hyphenate">{{object.dek|safe}}</p> </div> <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> </div> - - </li> - {% endfor %} - </ul> - - <section id="pagination"> - <ul>{% paginate %} - </ul> + </article> {% endfor %} </section> - </article> + <nav id="pagination">{% paginate %} + </nav> {% endblock %} |