diff options
author | luxagraf <sng@luxagraf.net> | 2011-05-09 16:22:25 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-05-09 16:22:25 -0400 |
commit | 5bb96d4c2c8b42474953ca29d2422b3be60da25b (patch) | |
tree | 959adb3e57c0baf54f56253e5347f45960439b97 /templates/archives | |
parent | 261b92d06de346cd5a6d18b9bdf38ee7084960ab (diff) |
updated styles and templates for revamped design
Diffstat (limited to 'templates/archives')
-rw-r--r-- | templates/archives/homepage.html | 12 | ||||
-rw-r--r-- | templates/archives/map.html | 2 | ||||
-rw-r--r-- | templates/archives/photos.html | 10 | ||||
-rw-r--r-- | templates/archives/projects.html | 8 | ||||
-rw-r--r-- | templates/archives/writing.html | 14 |
5 files changed, 19 insertions, 27 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index 37e8048..8ee30e4 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -1,11 +1,5 @@ {% 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 %}<section class="archive"> @@ -14,7 +8,7 @@ <div class="img"> <a href="{{featured.get_absolute_url}}" title="{{featured.title}}"><img src="{{featured.get_image_url}}" alt="{{ featured.title }}" class="post-image" width="{{featured.image_width}}" height="{{featured.image_height}}" /></a> </div> - <p class="dateline"> + <p class="dateline bl"> <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{% if featured.country_name == "United States" %}{{featured.location_name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{featured.state_name}}</a>{%else%}{{featured.location_name|smartypants|safe}}, <a href="/writing/{{featured.country_name|slugify}}/1/" title="travel writing from {{featured.country_name}}">{{featured.country_name}}</a>{%endif%} <meta itemprop="latitude" content="{{featured.latitude}}" /> <meta itemprop="longitude" content="{{featured.longitude}}" /></span> @@ -28,8 +22,8 @@ {%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>{%endcomment%} - <section id="archive"> - <h1>From the Archive</h1> + <section class="home harchive"> + <h1 class="sh">From the Archive</h1> {% include 'includes/recent_entries.html' %} </section> {% endblock %} diff --git a/templates/archives/map.html b/templates/archives/map.html index 0a002b9..1821fee 100644 --- a/templates/archives/map.html +++ b/templates/archives/map.html @@ -24,7 +24,7 @@ Google Maps code {% block primary %}<section id="page-header"> - <nav id="page-nav"> + <nav class="bl" 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> diff --git a/templates/archives/photos.html b/templates/archives/photos.html index 7e5e1ab..e31bd05 100644 --- a/templates/archives/photos.html +++ b/templates/archives/photos.html @@ -2,15 +2,15 @@ {% load typogrify %} {% load pagination_tags %} -{% block pagetitle %}Luxagraf | {% if region %}Photo Galleries: Images from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%} {{page}}{% endblock %} -{% block metadescription %}{% if region %}Photo Galleries from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%}{% endblock %} +{% block pagetitle %}Luxagraf | {% if region %}Photo Galleries: Images from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%} Page {{page}}{% endblock %} +{% block metadescription %}{% if region %}Photo Galleries from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%} Page {{page}}{% endblock %} {%block bodyid%}id="photo-archive"{%endblock%} {% 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 id="page-nav"> + <nav class="bl"> <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> @@ -21,9 +21,9 @@ <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 }}" width="291" height="350" /></a> + <a href="{{object.get_absolute_url}}" title="view images from {{ object.set_title }}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}" width="291" height="350" /></a> <div class="legend"> - <h3>{{object.set_title}}</h3> + <h1>{{object.set_title}}</h1> <p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p> </div> </div> diff --git a/templates/archives/projects.html b/templates/archives/projects.html index 4e1adab..89ba1ab 100644 --- a/templates/archives/projects.html +++ b/templates/archives/projects.html @@ -7,18 +7,16 @@ {% block primary %} <article> - <nav id="page-nav"> + <nav class="bl" 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> <li>Projects</li> </ul> </nav> <h1 class="hide">Projects</h1> - <div class="top"><p class="col">These are a few of the things that I use to inspire myself to do more. The truth is, just about <a href="http://www.youtube.com/watch?v=8r1CZTLk-Gk" title="Louis CK talking about how everything is amazing">everything is amazing</a> when viewed from the proper perspective. </p> - - <p class="col two">The projects on luxagraf are more or less goals I've created in effort to get my body in motion, because the difference between the mundane and the amazing is often simply motion. To move is to do, and to do is to live.</p></div> - + <div class="top"><p class="col hyphenate">These are a few of the things that I use to inspire myself to do more. The truth is, just about <a href="http://www.youtube.com/watch?v=8r1CZTLk-Gk" title="Louis CK talking about how everything is amazing">everything is amazing</a> when viewed from the proper perspective. </p> + <p class="col two hyphenate">The projects on luxagraf are more or less goals I've created in effort to get my body in motion, because the difference between the mundane and the amazing is often simply motion. To move is to do, and to do is to live.</p></div> <section id="projects-archive" class="archive"> {%for object in object_list %} <article> <h1><a href="{{object.get_absolute_url}}" title="{{object.title}}">{{object.title|safe}} {{object.subtitle|safe}}</a></h1> diff --git a/templates/archives/writing.html b/templates/archives/writing.html index 952bf9f..e880343 100644 --- a/templates/archives/writing.html +++ b/templates/archives/writing.html @@ -2,14 +2,14 @@ {% load typogrify %} {% load pagination_tags %} -{% block pagetitle %}Luxagraf | {% if region %}Travel Writing from {{region.name|title|smartypants|safe}}{%else%}Travel Writing from Around the World {%endif%}{% endblock %} -{% block metadescription %}{% if region %}Travel writing, essays and dispatches from {{region.name|title|smartypants|safe}}{%else%}Travel writing, essays and dispatches from around the world{%endif%}{% endblock %} +{% block pagetitle %}Luxagraf | {% if region %}Travel Writing from {{region.name|title|smartypants|safe}}{%else%}Travel Writing from Around the World {%endif%} Page {{page}}{% endblock %} +{% block metadescription %}{% if region %}Travel writing, essays and dispatches from {{region.name|title|smartypants|safe}}{%else%}Travel writing, essays and dispatches from around the world{%endif%} Page {{page}}{% endblock %} {%block bodyid%}id="writing"{%endblock%} {% 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"> + <nav class="bl"> <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> @@ -24,12 +24,12 @@ <div class="img"> <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" width="{{object.image_width}}" height="{{object.image_height}}" class="post-image" /></a> </div> - <p class="dateline"> - <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.state_name}}</a>{%else%}{{object.location_name|smartypants|safe}}, <a href="/writing/{{object.country_name|slugify}}/1/" title="travel writing from {{object.country_name}}">{{object.country_name}}</a>{%endif%} + <div class="dateline"> + <p class="location bl" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo">{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.state_name}}</a>{%else%}{{object.location_name|smartypants|safe}}, <a href="/writing/{{object.country_name|slugify}}/1/" title="travel writing from {{object.country_name}}">{{object.country_name}}</a>{%endif%} <meta itemprop="latitude" content="{{object.latitude}}" /> - <meta itemprop="longitude" content="{{object.longitude}}" /></span> + <meta itemprop="longitude" content="{{object.longitude}}" /></p> <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time> - </p> + </div> <p class="hyphenate">{{object.dek|safe}}</p> </article> {% endfor %} </section> |