diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/archives/homepage.html | 4 | ||||
-rw-r--r-- | templates/archives/map.html | 23 | ||||
-rw-r--r-- | templates/archives/photos.html | 24 | ||||
-rw-r--r-- | templates/archives/projects.html | 27 | ||||
-rw-r--r-- | templates/archives/writing.html | 28 | ||||
-rw-r--r-- | templates/base.html | 8 | ||||
-rw-r--r-- | templates/bin/map_sidebar.html | 48 | ||||
-rw-r--r-- | templates/bin/recent_entries.html | 2 | ||||
-rw-r--r-- | templates/details/about.html | 31 | ||||
-rw-r--r-- | templates/details/code.html | 25 | ||||
-rw-r--r-- | templates/details/contact.html | 67 | ||||
-rw-r--r-- | templates/details/national-parks.html | 20 | ||||
-rw-r--r-- | templates/details/photo_galleries.html | 17 |
13 files changed, 132 insertions, 192 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index 8ee30e4..11cbf4b 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -12,7 +12,7 @@ <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> - <time datetime="{{featured.pub_date|date:'c'}}">{{featured.pub_date|date:"m/d/y"}}</time> + <time datetime="{{featured.pub_date|date:'c'}}" pubdate>{{featured.pub_date|date:"m/d/y"}}</time> </p> <p class="hyphenate">{{featured.dek|safe}} <span class="button"><a href="{{featured.get_absolute_url}}" title="{{featured.title}}">More »</a></span> </p> @@ -28,4 +28,4 @@ </section> {% endblock %} -{% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%}
\ No newline at end of file +{% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%} diff --git a/templates/archives/map.html b/templates/archives/map.html index 1821fee..effe150 100644 --- a/templates/archives/map.html +++ b/templates/archives/map.html @@ -23,18 +23,13 @@ Google Maps code -{% block primary %}<section id="page-header"> - <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> - </ul> - </nav> +{% block primary %}<ul class="bl" 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> + <section> + <h1 class="hide">Browse luxagraf by map</h1> + <div id="map-canvas"></div> + {% include 'includes/map_sidebar.html' %} </section> - <article> - <div id="map-canvas"> - </div> - <aside>{% include 'includes/map_sidebar.html' %} - </aside> - </article> -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/templates/archives/photos.html b/templates/archives/photos.html index e31bd05..bc06f5c 100644 --- a/templates/archives/photos.html +++ b/templates/archives/photos.html @@ -8,16 +8,13 @@ {%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 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> - <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> - </nav> - </section> +{% block primary %}<ul class="bl" 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%}<li>Photos </li>{%endif%} + </ul> + <section> + <h1 class="hide">{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1> <ul id="photo-galleries">{% autopaginate object_list 18 %} {% for object in object_list %} <li> <div class="figure"> @@ -29,6 +26,7 @@ </div> </li>{% endfor %} </ul> - <nav id="pagination">{% paginate %} - </nav> -{% endblock %}
\ No newline at end of file + </section> + <div id="pagination">{% paginate %} + </div> +{% endblock %} diff --git a/templates/archives/projects.html b/templates/archives/projects.html index da60af4..f266c08 100644 --- a/templates/archives/projects.html +++ b/templates/archives/projects.html @@ -5,19 +5,16 @@ {%block bodyid%}id="projects-page"{%endblock%} -{% block primary %} -<article> - <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 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 %} +{% block primary %}<ul class="bl" 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> + <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"> + <h1 class="hide">Projects</h1>{%for object in object_list %} <article> <h1><a href="{{object.get_absolute_url}}" title="{{object.title}}">{{object.title|safe}} {{object.subtitle|safe}}</a></h1> <div class="img"> @@ -27,8 +24,6 @@ <!--<span class="button"><a href="{{project.get_absolute_url}}">More »</a></span>--> </article> {% endfor %} </section> - -</article> {% endblock %} -{% block js %}<script src="/media/js/hyphenate.min.js" type="text/javascript"></script>{% endblock%}
\ No newline at end of file +{% block js %}<script src="/media/js/hyphenate.min.js" type="text/javascript"></script>{% endblock%} diff --git a/templates/archives/writing.html b/templates/archives/writing.html index e880343..983b59a 100644 --- a/templates/archives/writing.html +++ b/templates/archives/writing.html @@ -7,18 +7,14 @@ {%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 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> - <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" class="archive"> {% autopaginate object_list 10 %} {% for object in object_list %} +{% block primary %}<ul class="bl" 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> + <section id="writing-archive" class="archive"> + <h1 class="hide">{% if region %}Writing Archive from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Writing Archive {%endif%}</h1>{% autopaginate object_list 10 %} {% for object in object_list %} <article> <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> <div class="img"> @@ -28,15 +24,15 @@ <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}}" /></p> - <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time> + <time datetime="{{object.pub_date|date:'c'}}" pubdate>{{object.pub_date|date:"m/d/y"}}</time> </div> <p class="hyphenate">{{object.dek|safe}}</p> </article> {% endfor %} </section> - <nav id="pagination">{% paginate %} - </nav> + <div id="pagination">{% paginate %} + </div> {% endblock %} -{% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%}
\ No newline at end of file +{% block js %}<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>{% endblock%} diff --git a/templates/base.html b/templates/base.html index a836845..8f07139 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,8 +22,11 @@ href="{{MEDIA_URL}}css/ie.css" media="screen"> <![endif]--> - <script>var _gaq=[['_setAccount','UA-1186171-1'],['_trackPageview'],['_trackPageLoadTime']];(function(d,t){ var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'))</script> - {%block extrahead%}{%endblock%} + <script type="text/javascript" src="http://use.typekit.com/prx2tcr.js"></script> + <script type="text/javascript">try{Typekit.load();}catch(e){}</script> + <script> + var _gaq=[['_setAccount','UA-1186171-1'],['_trackPageview'],['_trackPageLoadTime']];(function(d,t){ var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script')) + </script>{%block extrahead%}{%endblock%} </head> <body {%block bodyid%}{%endblock%}{%block bodyevents%}{%endblock%}> <header role="banner"> @@ -35,6 +38,7 @@ <ul> <li id="stories"><a href="/writing/1/" title="An archive of writings from around the world">Writing</a>,</li> <li id="photos"><a href="/photos/1/" title="Photos from travels around the world">Photos</a>,</li> + <li id="guides"><a href="/travel-guide/1/" title="Travel Guides, Tips, Tricks and Recommendations">Guides</a>,</li> <li id="maps"><a href="/map/" title="Maps and miscellanea">Map</a>,</li> <li id="projects" ><a href="/projects/" title="Luxagraf: Projects">Projects</a>,</li> <li id="etc"><a href="/about/" title="About Luxagraf">Etc</a></li> diff --git a/templates/bin/map_sidebar.html b/templates/bin/map_sidebar.html index 635c522..e61852f 100644 --- a/templates/bin/map_sidebar.html +++ b/templates/bin/map_sidebar.html @@ -1,25 +1,23 @@ -{% load truncateletters %} -{% load slugify_under %} -<div class="map-legend"> - <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="#" title="show {{route.name}} on map">{{route.name}}</a></li> - {% endfor %} - </ul> - <h4>Regions</h4> - <ul> - {%for region in region_list %} - <li><a href="#{{region.slug}}" onclick="focusCountry({{region.lat}}, {{region.lon}}, {{region.zoom_level}});" title="See all writing from {{region.name|title}}">{{region.name}}</a></li> - {% endfor %} - </ul> - - <h4>Countries</h4> - <ul> - <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 %} - </ul> - -</div>
\ No newline at end of file +{% load truncateletters %}{% load slugify_under %}<div class="map-legend"> + <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="#" title="show {{route.name}} on map">{{route.name}}</a></li> + {% endfor %} + </ul> + <h4>Regions</h4> + <ul> + {%for region in region_list %} + <li><a href="#{{region.slug}}" onclick="focusCountry({{region.lat}}, {{region.lon}}, {{region.zoom_level}});" title="See all writing from {{region.name|title}}">{{region.name}}</a></li> + {% endfor %} + </ul> + + <h4>Countries</h4> + <ul> + <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 %} + </ul> + + </div> diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html index 0cf3034..f86d6f2 100644 --- a/templates/bin/recent_entries.html +++ b/templates/bin/recent_entries.html @@ -5,7 +5,7 @@ <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> + <time datetime="{{object.pub_date|date:'c'}}" pubdate>{{object.pub_date|date:"m/d/y"}}</time> </p> {%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> diff --git a/templates/details/about.html b/templates/details/about.html index d0366d4..6dde0e9 100644 --- a/templates/details/about.html +++ b/templates/details/about.html @@ -5,43 +5,20 @@ {%block htmlclass%}class="single"{%endblock%} {%block bodyid%}id="about"{%endblock%} -{% block primary %}<section id="page-header"> - <h1 class="hide">About Luxagraf</h1> - <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>About</li> - </ul> - </nav> - </section> - +{% block primary %}<ul class="bl" 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>About</li> + </ul> <article role="main"> <h1 class="hide">About Luxagraf</h1> <div class="post-body-single"> <p>Luxagraf is written and published by Scott Gilbertson.</p> <p><img src="{{MEDIA_URL}}img/bio.jpg" alt="Scott Gilbertson" /> <small>Photo by <a href="http://twitter.com/lagsolo" title="@lagsolo on Twitter" >@lagsolo</a></small></p> - <h2>Colophon</h2> <p>Luxagraf is published using a custom content management system written with the <a href="http://docs.djangoproject.com/en/dev/ref/contrib/gis/">GeoDjango framework</a>. The site validates as HTML5 and uses @media rules to handle phones, iPads and the like. It should work in any modern web browser. If you have trouble, let me know.</p> - <p>I write in long hand because I am an old man and that's we roll. I make the clackity noise in BBEdit, the best text editor ever.</p> - <p>Currently photos are taken with a Panasonic GF1. In the past I have used a Panasonic LX2 and a Canon S45. Minimal processing is done with Adobe Lightroom and Photoshop. The photo gallery layout was inspired by the lovely <a href="http://www.pictorymag.com/" title="Pictory Mag">Pictory</a> photo showcase. Also note that while the writing is copyrighted to me, the photos are licensed under a Creative Commons <a href="http://creativecommons.org/licenses/by-sa/3.0/">attribution, share-alike license</a>, which means you're free to use them so long as you attribute them to me.</p> </div> - - {%comment%} - <div class="content">{%for object in object_list %}{%if forloop.last %} - {{object.content|smartypants|safe}}{%endif%} {% endfor %} - </div> - - <section> - <h2>Colophon</h2> - <img src="{{IMAGES_URL}}colo.jpg" alt="me" /> - <div class="content">{%for object in object_list %}{%if forloop.counter = 2 %} - {{object.content|smartypants|safe}}{%endif%} {% endfor %} - </div> - </section> - {%endcomment%} </article> {% endblock %} diff --git a/templates/details/code.html b/templates/details/code.html index a593ae7..1697844 100644 --- a/templates/details/code.html +++ b/templates/details/code.html @@ -35,25 +35,16 @@ article[role="main"] a { color: #b53a04;} {% endblock %} {%block bodyid%}id="code"{%endblock%} -{% block primary %}<section id="page-header"> - <h1 class="hide">Code</h1> - <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> - <li><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> →</li> - <li>Code</li> - </ul> - </nav> - </section> - <article role="main"> - {% for object in object_list %} - <header> - <h1>{{object.name}}</h1> - </header> +{% block primary %}<ul class="bl" 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><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> →</li> + <li>Code</li> + </ul> + <article role="main">{% for object in object_list %} + <h1>{{object.name}}</h1> <div class="post-body-single"> {{object.body_html|smartypants|widont|safe}} - </div> - {% endfor %} + </div>{% endfor %} </article> diff --git a/templates/details/contact.html b/templates/details/contact.html index 5956e51..ec47c34 100644 --- a/templates/details/contact.html +++ b/templates/details/contact.html @@ -5,42 +5,35 @@ {% block metadescription %}{% endblock %} {%block bodyid%}id="contact"{%endblock%} -{% block primary %}<section id="page-header"> - <h1 class="hide">Luxagraf: Contact</h1> - <nav id="page-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> - <li>Contact</li> - </ul> - </nav> - </section> - <article role="main"> - <header> - <h1>Contact Information</h1> - </header> - <div id="post"> - <p>I'd love to hear what you think about the posts on luxagraf. If you use Twitter, send me a message: <a href="http://twitter.com/luxagraf" rel="me" title="follow luxagraf on Twitter">@luxagraf</a>.</p> - <p>Then there's email. I'm not a big fan. Or rather I don't have the time to respond the way I would like to, which makes me like it less. So if you email me and don't hear back, or you do but it's five months later and you've entirely forgotten that you even emailed me in the first place, please don't take it personally.</p> - - <p>Please send your thoughts to:</p> - <p> - <script type="text/javascript"> - //<![CDATA[ - <!-- - var x="function f(x){var i,o=\"\",ol=x.length,l=ol;while(x.charCodeAt(l/13)!" + - "=69){try{x+=x;l+=l;}catch(e){}}for(i=l-1;i>=0;i--){o+=x.charAt(i);}return o" + - ".substr(0,ol);}f(\")811,\\\"Zofr{i4|m;(%g!$1&^ENUwFG_J@FFD330\\\\100\\\\}zp" + - ";u~t~T/b771\\\\)lfjm=^&E320\\\\030\\\\600\\\\130\\\\230\\\\LH4220\\\\100\\\\"+ - "410\\\\N8=(?7,'<610\\\\?>&#)//]600\\\\ULZ]S]410\\\\p720\\\\NCVJ000\\\\771\\" + - "\\ 80xxwdg~}&rjgm010\\\\030\\\\620\\\\320\\\\\\\"(f};o nruter};))++y(^)i(tA" + - "edoCrahc.x(edoCrahCmorf.gnirtS=+o;721=%y;++y)811<i(fi{)++i;l<i;0=i(rof;htgn" + - "el.x=l,\\\"\\\"=o,i rav{)y,x(f noitcnuf\")" ; - while(x=eval(x)); - //--> - //]]> - </script> - </p> - </div> - </article> +{% block primary %}<ul class="bl" 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>Contact</li> + </ul> + <article role="main"> + <h1>Contact Information</h1> + <div id="post"> + <p>I'd love to hear what you think about the posts on luxagraf. If you use Twitter, send me a message: <a href="http://twitter.com/luxagraf" rel="me" title="follow luxagraf on Twitter">@luxagraf</a>.</p> + <p>Then there's email. I'm not a big fan. Or rather I don't have the time to respond the way I would like to, which makes me like it less. So if you email me and don't hear back, or you do but it's five months later and you've entirely forgotten that you even emailed me in the first place, please don't take it personally.</p> + + <p>Please send your thoughts to:</p> + <p> + <script type="text/javascript"> + //<![CDATA[ + <!-- + var x="function f(x){var i,o=\"\",ol=x.length,l=ol;while(x.charCodeAt(l/13)!" + + "=69){try{x+=x;l+=l;}catch(e){}}for(i=l-1;i>=0;i--){o+=x.charAt(i);}return o" + + ".substr(0,ol);}f(\")811,\\\"Zofr{i4|m;(%g!$1&^ENUwFG_J@FFD330\\\\100\\\\}zp" + + ";u~t~T/b771\\\\)lfjm=^&E320\\\\030\\\\600\\\\130\\\\230\\\\LH4220\\\\100\\\\"+ + "410\\\\N8=(?7,'<610\\\\?>&#)//]600\\\\ULZ]S]410\\\\p720\\\\NCVJ000\\\\771\\" + + "\\ 80xxwdg~}&rjgm010\\\\030\\\\620\\\\320\\\\\\\"(f};o nruter};))++y(^)i(tA" + + "edoCrahc.x(edoCrahCmorf.gnirtS=+o;721=%y;++y)811<i(fi{)++i;l<i;0=i(rof;htgn" + + "el.x=l,\\\"\\\"=o,i rav{)y,x(f noitcnuf\")" ; + while(x=eval(x)); + //--> + //]]> + </script> + </p> + </div> + </article> {% endblock %} diff --git a/templates/details/national-parks.html b/templates/details/national-parks.html index 16cfbf1..dc3f7fb 100644 --- a/templates/details/national-parks.html +++ b/templates/details/national-parks.html @@ -8,16 +8,13 @@ {% block htmlclass %}class="dark"{% endblock %} -{% block primary %}<section id="page-header"> - <h1 class="hide">The National Parks Project</h1> - <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> - <li><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> →</li> - <li>National Parks</li> - </ul> - </nav> - </section>{% for object in object_list %} +{% block primary %}<ul class="bl" 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><a href="/projects/" title="luxagraf projects page" itemprop="url"><span itemprop="title">Projects</span></a> →</li> + <li>National Parks</li> + </ul> + <section> + <h1 class="hide">The National Parks Project</h1>{% for object in object_list %} <article id="park-{{forloop.counter}}" class="park"> <h1>{{object.name}}</h1> <div class="figure"> @@ -45,6 +42,7 @@ </dl> </div> </article>{% endfor %} + </section> {% endblock %} {% block js %} <script type="text/javascript" src="{{MEDIA_URL}}js/jquery.js"></script> @@ -52,4 +50,4 @@ <script type="text/javascript" src="{{MEDIA_URL}}js/natparks.min.js" ></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/templates/details/photo_galleries.html b/templates/details/photo_galleries.html index 6e4f4d5..e61c9b7 100644 --- a/templates/details/photo_galleries.html +++ b/templates/details/photo_galleries.html @@ -10,19 +10,14 @@ {%block bodyid%}class="image_gallery"{%endblock%} -{% block primary %}<section id="page-header"> - <h1 class="hide">Photos from {{object.set_title}}</h1> - <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><a href="/photos/" title="See all Photos" itemprop="url"><span>Photos</span></a> →</li> - <li>{{object.set_title}}</li> - </ul> - </nav> - </section> +{% block primary %}<ul class="bl" 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><a href="/photos/" title="See all Photos" itemprop="url"><span>Photos</span></a> →</li> + <li>{{object.set_title}}</li> + </ul> <p class="directions">Use left/right arrow keys to navigate through photos</p> <section id="slides"> - {%for photo in object.photos.all reversed %} + <h1 class="hide">Photos from {{object.set_title}}</h1>{%for photo in object.photos.all reversed %} <article id="image-{{forloop.counter}}"> <h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">∞ {{forloop.counter|number_to_word}} ∞</a></h6> <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> |