From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- design/templates/404.html | 42 ++++++++ design/templates/500.html | 99 ++++++++++++++++++ design/templates/archives/guide.html | 51 ++++++++++ design/templates/archives/homepage.html | 31 ++++++ design/templates/archives/map.html | 35 +++++++ design/templates/archives/photos.html | 32 ++++++ design/templates/archives/projects.html | 29 ++++++ design/templates/archives/writing.html | 38 +++++++ design/templates/base.html | 66 ++++++++++++ design/templates/bin/country_sidebar.html | 6 ++ design/templates/bin/map_entry_list.html | 111 +++++++++++++++++++++ design/templates/bin/map_sidebar.html | 23 +++++ design/templates/bin/recent_entries.html | 13 +++ design/templates/bin/regions_sidebar.html | 6 ++ design/templates/contact_form/contact_form.html | 45 +++++++++ design/templates/contact_form/contact_form.txt | 5 + .../templates/contact_form/contact_form_sent.html | 25 +++++ .../contact_form/contact_form_subject.txt | 1 + design/templates/details/5x5.html | 19 ++++ design/templates/details/about.html | 24 +++++ design/templates/details/code.html | 52 ++++++++++ design/templates/details/contact.html | 39 ++++++++ design/templates/details/entry.html | 65 ++++++++++++ design/templates/details/fck_digg.html | 21 ++++ design/templates/details/guide.html | 65 ++++++++++++ design/templates/details/national-parks.html | 53 ++++++++++ design/templates/details/photo.html | 85 ++++++++++++++++ design/templates/details/photo_galleries.html | 70 +++++++++++++ design/templates/feeds/blog_description.html | 1 + design/templates/feeds/links_description.html | 1 + design/templates/gis/admin/google.html | 5 + design/templates/gis/admin/google.js | 2 + design/templates/oldbase.html | 86 ++++++++++++++++ 33 files changed, 1246 insertions(+) create mode 100644 design/templates/404.html create mode 100644 design/templates/500.html create mode 100644 design/templates/archives/guide.html create mode 100644 design/templates/archives/homepage.html create mode 100644 design/templates/archives/map.html create mode 100644 design/templates/archives/photos.html create mode 100644 design/templates/archives/projects.html create mode 100644 design/templates/archives/writing.html create mode 100644 design/templates/base.html create mode 100644 design/templates/bin/country_sidebar.html create mode 100644 design/templates/bin/map_entry_list.html create mode 100644 design/templates/bin/map_sidebar.html create mode 100644 design/templates/bin/recent_entries.html create mode 100644 design/templates/bin/regions_sidebar.html create mode 100644 design/templates/contact_form/contact_form.html create mode 100644 design/templates/contact_form/contact_form.txt create mode 100644 design/templates/contact_form/contact_form_sent.html create mode 100644 design/templates/contact_form/contact_form_subject.txt create mode 100644 design/templates/details/5x5.html create mode 100644 design/templates/details/about.html create mode 100644 design/templates/details/code.html create mode 100644 design/templates/details/contact.html create mode 100644 design/templates/details/entry.html create mode 100644 design/templates/details/fck_digg.html create mode 100644 design/templates/details/guide.html create mode 100644 design/templates/details/national-parks.html create mode 100644 design/templates/details/photo.html create mode 100644 design/templates/details/photo_galleries.html create mode 100644 design/templates/feeds/blog_description.html create mode 100644 design/templates/feeds/links_description.html create mode 100644 design/templates/gis/admin/google.html create mode 100644 design/templates/gis/admin/google.js create mode 100644 design/templates/oldbase.html (limited to 'design/templates') diff --git a/design/templates/404.html b/design/templates/404.html new file mode 100644 index 0000000..bdef84f --- /dev/null +++ b/design/templates/404.html @@ -0,0 +1,42 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Error 404 {% endblock %} + +{%block bodyid%}id="writing-detail" class="single"{%endblock%} + {% block title %}404 Page Not Found{% endblock %} + + +{% block primary %} +
+ +
+

Error 404 – Page Not Found

+ +
+
+ + +

+ +

Al Gore is pissed.

+

So is the hamster.

+

This is probably because of one or more of the following:

+ +

The hamster who fetches these pages has stepped out for a smoke break (he earns extra travel money over at the Philip Morris Labs where he poses as a rat and gets paid under the table).

+

The hamster who fetches these pages is actually at Phillip Morris Labs working right now in which case you'll just have to wait until he comes back here.

+

The hamster who fetches the pages finally made enough extra travel money working nights at the Philip Morris Labs to actually travel and is no longer running this site at all, in fact he's sipping Mai Tai's in Indonesia even as we speak, laughing that semi-sinister but always endearing high pitched squeak of a laugh.

+

The hamster may be innocent. Perhaps I was drunk and left the page in the back of a cab.

+

Wait, why is this our fault? Why are you so quick to blame the hamster? This could be your fault. You might have man hands or thick, clumsy fingers that led you to type the wrong address. Or you might just be an idiot. Or you might be following the links of an idiot. See what happens when you visit other sites? Keep it simple, make the hamster happy. Limit your internet usage to luxagraf only.

+

Of course it's also possible that you're ahead of me and the page simply hasn't been invented yet, which makes you a genius. And explains why the hamster couldn't find it.

+

It's also entirely possible that the page exists but the hamster doesn't want to show it to you. It maybe one of those "backroom" pages he has, where secret stuff beyond your wildest imaginings is happening even now, right this second, just behind this blank white curtain. Stuff which you can only guess at. You can ask the hamster for an invite. Just email a full body shot, two forms of ID and a credit card number for verification purposes.

+ +

Whatever the case you may return from whence you came, Head for the main page or try searching again for whatever it is you wanted to find.

+
+
+
+ {% endblock %} + + diff --git a/design/templates/500.html b/design/templates/500.html new file mode 100644 index 0000000..d1e984d --- /dev/null +++ b/design/templates/500.html @@ -0,0 +1,99 @@ + + + + Luxagraf | Internal Server Error + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Luxagraf

+

{a travelogue}

+
+
+ +
+

Server Error

+

Holy crap, you broke the internet. The proper authorities have been notified and it will most likely be working again soon.

+
+ +
+ + + + + {% endblock %} + \ No newline at end of file diff --git a/design/templates/archives/guide.html b/design/templates/archives/guide.html new file mode 100644 index 0000000..27ac756 --- /dev/null +++ b/design/templates/archives/guide.html @@ -0,0 +1,51 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% load pagination_tags %} + +{% block pagetitle %}Luxagraf | {% if region %}Travel Guide {{region.name|title|smartypants|safe}}{%else%} Travel Guides, Tips, Tricks and Recommendations {%endif%} Page {{page}}{% endblock %} +{% block metadescription %}{% if region %}A Travel Guide, Tips, Tricks and Recommendations for {{region.name|title|smartypants|safe}}{%else%}Travel Guides, Tips, Tricks and Recommendations {%endif%} Page {{page}}{% endblock %} +{%block bodyid%}id="guide-archive" class="guide"{%endblock%} + + +{% block primary %} + +
+

Travel Guides

+

What I Know About Where I've Been

+
+

The essays on luxagraf rarely offer much travel advice. I don't often write about places I stay, where I eat, the gear I carry or even how to get from here to there. At the same time I always save business cards and write down addresses almost everywhere I go. + Until now I haven't really done anything with that information, save tell a few friends headed in similar directions. So I decided to created this, the travel guide section, so you can know what I know. I even busted out the video camera for a few of these. Just bear in mind that this is my experience, yours may be very different. That's okay.

+
+ + +
{% autopaginate object_list 10 %} {% for object in object_list %} + {% endfor %} +
+ +{% endblock %} + + + +{% block js %}{% endblock%} + + + +{% if object.location %}

{% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%} + +

{%endif%} diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html new file mode 100644 index 0000000..11cbf4b --- /dev/null +++ b/design/templates/archives/homepage.html @@ -0,0 +1,31 @@ +{% extends 'base.html' %} +{% load typogrify %} +{%block bodyid%}id="home"{%endblock%} + +{% block primary %}
+ +
+ {%comment%}
+

5x5

Interviews From The Road

Lorem sit amet, consectetur adipiscing elit. Duis cursus sodales eros – William Brandon III

+
{%endcomment%} +
+

From the Archive

+ {% include 'includes/recent_entries.html' %} +
+{% endblock %} + +{% block js %}{% endblock%} diff --git a/design/templates/archives/map.html b/design/templates/archives/map.html new file mode 100644 index 0000000..effe150 --- /dev/null +++ b/design/templates/archives/map.html @@ -0,0 +1,35 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% load truncateletters %} +{% load slugify_under %} + +{% block pagetitle %}Luxagraf | Map and Trips{% endblock %} +{% block metadescription %}Browse luxagraf by map, see trip routes and discover essays and dispatches from around the world{% endblock %} + +{#============================================== +Google Maps code +==============================================#} +{% block extrahead %} + + + + + +{% endblock %} +{%block bodyid%}id="map" {%endblock%} +{% block bodyevents %}onload="initialize()"{% endblock %} + + + + + +{% block primary %} +
+

Browse luxagraf by map

+
+ {% include 'includes/map_sidebar.html' %} +
+{% endblock %} diff --git a/design/templates/archives/photos.html b/design/templates/archives/photos.html new file mode 100644 index 0000000..bc06f5c --- /dev/null +++ b/design/templates/archives/photos.html @@ -0,0 +1,32 @@ +{% extends 'base.html' %} +{% 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 {{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 %} +
+

{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}

+ +
+ +{% endblock %} diff --git a/design/templates/archives/projects.html b/design/templates/archives/projects.html new file mode 100644 index 0000000..f266c08 --- /dev/null +++ b/design/templates/archives/projects.html @@ -0,0 +1,29 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Projects {% endblock %} +{% block metadescription %}Travel Themes and Experiments {% endblock %} + +{%block bodyid%}id="projects-page"{%endblock%} + +{% block primary %} +
+

These are a few of the things that I use to inspire myself to do more. The truth is, just about everything is amazing when viewed from the proper perspective.

+

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.

+
+
+

Projects

{%for object in object_list %} + {% endfor %} +
+{% endblock %} + +{% block js %}{% endblock%} diff --git a/design/templates/archives/writing.html b/design/templates/archives/writing.html new file mode 100644 index 0000000..983b59a --- /dev/null +++ b/design/templates/archives/writing.html @@ -0,0 +1,38 @@ +{% extends 'base.html' %} +{% 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%} 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 %} +
+

{% if region %}Writing Archive from {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%}Writing Archive {%endif%}

{% autopaginate object_list 10 %} {% for object in object_list %} + {% endfor %} +
+ +{% endblock %} + + + +{% block js %}{% endblock%} diff --git a/design/templates/base.html b/design/templates/base.html new file mode 100644 index 0000000..8f07139 --- /dev/null +++ b/design/templates/base.html @@ -0,0 +1,66 @@ + + + + + {% block pagetitle %}Luxagraf - Topografical Writings{% endblock %} + + + + + + {%block stylesheet%}{%endblock%} + + + + {%block extrahead%}{%endblock%} + + +
+ + +
+ {% block primary %}{% endblock %} + {% block extrabody %}{% endblock %} + + {% block js %}{% endblock%} + + + diff --git a/design/templates/bin/country_sidebar.html b/design/templates/bin/country_sidebar.html new file mode 100644 index 0000000..03570da --- /dev/null +++ b/design/templates/bin/country_sidebar.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/design/templates/bin/map_entry_list.html b/design/templates/bin/map_entry_list.html new file mode 100644 index 0000000..a58de05 --- /dev/null +++ b/design/templates/bin/map_entry_list.html @@ -0,0 +1,111 @@ +{% load typogrify %} +{% load truncateletters %} +{% load slugify_under %} + + // center on a country + function focusCountry(latitude, longitude, zoom) { + map.setZoom(zoom); + map.panTo(new google.maps.LatLng(latitude, longitude)); + }; + + {% for route in route_list %} + var {{route.template_var_name}} = [ + {% for point in route.geometry.coords%} + new google.maps.LatLng({{point.1}}, {{point.0}}){% if forloop.last%}{%else%},{%endif%} + {% endfor %} + ]; + {% endfor %} + function showRoute(route, zoom, latitude, longitude) { + var routePath = new google.maps.Polyline({ + path: eval(route), + strokeColor: "#FF0000", + strokeOpacity: 1.0, + strokeWeight: 2 + }); + map.setZoom(zoom); + map.panTo(new google.maps.LatLng(latitude, longitude)); + routePath.setMap(map); + return false; + }; +var map; +function initialize() { + + //custom marker + var image = new google.maps.MarkerImage('http://luxagraf.net/media/img/marker-entry.png', + new google.maps.Size(15, 26), + new google.maps.Point(0, 0), + new google.maps.Point(7, 26) + ); + //custom marker shadow + var shadow = new google.maps.MarkerImage('http://luxagraf.net/media/img/shadow.png', + new google.maps.Size(37, 34), + new google.maps.Point(0,0), + new google.maps.Point(8, 34) + ); + + + //check for a permalink + var location = window.location.hash; + //find a centerpoint + var pts = new Array(); + {%for c in country_list%}pts[{{forloop.counter0}}] = ["#{{c.slug}}", {{c.lat}},{{c.lon}},{{c.zoom_level}}];{% endfor %} + {%for c in region_list%}pts[pts.length] = ["#{{c.slug}}", {{c.lat}},{{c.lon}},{{c.zoom_level}}];{% endfor %} + if (location.length>1) { + for (i=0;i +

Trips

+ +

Regions

+ + +

Countries

+ + + diff --git a/design/templates/bin/recent_entries.html b/design/templates/bin/recent_entries.html new file mode 100644 index 0000000..f86d6f2 --- /dev/null +++ b/design/templates/bin/recent_entries.html @@ -0,0 +1,13 @@ +{% load typogrify %}{% for object in object_list %} + {% endfor %} diff --git a/design/templates/bin/regions_sidebar.html b/design/templates/bin/regions_sidebar.html new file mode 100644 index 0000000..ce14e68 --- /dev/null +++ b/design/templates/bin/regions_sidebar.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/design/templates/contact_form/contact_form.html b/design/templates/contact_form/contact_form.html new file mode 100644 index 0000000..4b20fc7 --- /dev/null +++ b/design/templates/contact_form/contact_form.html @@ -0,0 +1,45 @@ +{% extends 'base.html' %} + +{#============================================== +Load up the various metadata add-ins +================================================#} + +{% block metadescription %}Contact Luxagraf: Want to know something more about somewhere I've been? Or something about the website? Drop me an e-mail and I'll get back to you as soon as I can.{%endblock%} +{% block pagetitle %}Get in Touch | Luxagraf {% endblock %} +{% block metakeywords %}contact, get in touch, drop a line{%endblock%} + +{#============================================== +Fill in the Title And Dateline Blocks +================================================#} + +{%block title %} +Contact Me +{%endblock%} + + + +{%block primary%} +
+
+

Contact Me

+ +
+
+
    +{% for field in form %} +
  • +
    +
    {{ field.label_tag }}
    +
    {{ field }}
    + {% if field.help_text %}
    {{ field.help_text }}
    {% endif %} + {% if field.errors %}
    {{ field.errors }}
    {% endif %} +
    +
  • +{% endfor %} +
+ +
+
+
+
+{%endblock%} \ No newline at end of file diff --git a/design/templates/contact_form/contact_form.txt b/design/templates/contact_form/contact_form.txt new file mode 100644 index 0000000..5d8bf3e --- /dev/null +++ b/design/templates/contact_form/contact_form.txt @@ -0,0 +1,5 @@ +Name: {{name}} + +Wrote: {{body}} + +Reply-To Address: {{email}} \ No newline at end of file diff --git a/design/templates/contact_form/contact_form_sent.html b/design/templates/contact_form/contact_form_sent.html new file mode 100644 index 0000000..adeabb6 --- /dev/null +++ b/design/templates/contact_form/contact_form_sent.html @@ -0,0 +1,25 @@ +{% extends 'contact_form/contact_form.html' %} + +{#============================================== +Fill in the Title And Dateline Blocks +================================================#} + +{%block title %} +Thank You +{%endblock%} + + +{% block dateline %} +Thanks for sharing your thoughts +{% endblock%} + + +{#============================================== + Primary Content +================================================#} + +{%block primary%} + +

Thanks for sharing your thoughts, I will make an effort to respond promptly

+ +{% endblock %} \ No newline at end of file diff --git a/design/templates/contact_form/contact_form_subject.txt b/design/templates/contact_form/contact_form_subject.txt new file mode 100644 index 0000000..2eb8f20 --- /dev/null +++ b/design/templates/contact_form/contact_form_subject.txt @@ -0,0 +1 @@ +[luxmail] {{subject_line}} \ No newline at end of file diff --git a/design/templates/details/5x5.html b/design/templates/details/5x5.html new file mode 100644 index 0000000..a9bdd63 --- /dev/null +++ b/design/templates/details/5x5.html @@ -0,0 +1,19 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Projects | 5x5 - Interviews from the road {% endblock %} +{% block metadescription %}{% endblock %} + +{%block bodyid%}id="projects"{%endblock%} + +{% block primary %} + +{% endblock %} diff --git a/design/templates/details/about.html b/design/templates/details/about.html new file mode 100644 index 0000000..6dde0e9 --- /dev/null +++ b/design/templates/details/about.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | About{% endblock %} +{% block metadescription %}About: Luxagraf is written and published by Scott Gilbertson. Writing is done in BBEdit, published with GeoDjango. Photos taken with a Panasonic GF1.{% endblock %} +{%block htmlclass%}class="single"{%endblock%} +{%block bodyid%}id="about"{%endblock%} + +{% block primary %} +
+

About Luxagraf

+
+

Luxagraf is written and published by Scott Gilbertson.

+

Scott Gilbertson + Photo by @lagsolo

+

Colophon

+

Luxagraf is published using a custom content management system written with the GeoDjango framework. 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.

+

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.

+

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 Pictory photo showcase. Also note that while the writing is copyrighted to me, the photos are licensed under a Creative Commons attribution, share-alike license, which means you're free to use them so long as you attribute them to me.

+
+
+{% endblock %} diff --git a/design/templates/details/code.html b/design/templates/details/code.html new file mode 100644 index 0000000..1697844 --- /dev/null +++ b/design/templates/details/code.html @@ -0,0 +1,52 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Projects | Code and Other Experiments {% endblock %} +{%block htmlclass%}class="single"{%endblock%} +{% block metadescription %}Browser extentsions to block comments on onlineathens.com{% endblock %} +{% block extrahead %} + +{% endblock %} +{%block bodyid%}id="code"{%endblock%} + +{% block primary %} +
{% for object in object_list %} +

{{object.name}}

+
+ {{object.body_html|smartypants|widont|safe}} +
{% endfor %} +
+ + + +{% endblock %} diff --git a/design/templates/details/contact.html b/design/templates/details/contact.html new file mode 100644 index 0000000..ec47c34 --- /dev/null +++ b/design/templates/details/contact.html @@ -0,0 +1,39 @@ +{% extends 'base.html' %} +{% load typogrify %} +{%block htmlclass%}class="single"{%endblock%} +{% block pagetitle %}Luxagraf: Email{% endblock %} +{% block metadescription %}{% endblock %} +{%block bodyid%}id="contact"{%endblock%} + +{% block primary %} +
+

Contact Information

+
+

I'd love to hear what you think about the posts on luxagraf. If you use Twitter, send me a message: @luxagraf.

+

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.

+ +

Please send your thoughts to:

+

+ +

+
+
+{% endblock %} + diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html new file mode 100644 index 0000000..c5dc80f --- /dev/null +++ b/design/templates/details/entry.html @@ -0,0 +1,65 @@ +{% extends 'base.html' %} +{% load typogrify %} + +{% block pagetitle %}{{object.title|title|smartypants|safe}} | Luxagraf, a travelogue | {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}){% endblock %} + +{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %} +{%block extrahead%} + + + + + +{%endblock%} +{%block htmlclass%}{% with object.template_name as t %} +class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}"{%endwith%}{%endblock%} + + +{% block primary %} +
+
+

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

+ + +
+
+ {{object.body_html|smartypants|widont|safe}} +
{%if object.template_name == 1 %} +
{%endif%}{%if object.template_name == 3 %}
{%endif%} + {%comment%} +
+

About {{object.title|smartypants|safe}}

+

Posted , from {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}. + Follow along on Twitter or by subscribing to the RSS Feed. For more about me, see the about page. To get in touch please use the contact form or leave a comment below.

+
+ {% endcomment %} + {% with object.get_next_published as next %} + {% with object.get_previous_published as prev %} + {%endwith%}{%endwith%} + + {%comment%} +
+

Comments

+
blog comments powered by Disqus +
+ {%endcomment%} +
+{% endblock %} +{% block js %} +{% with object.template_name as t %}{%if t == 1 or t == 3 %} + +{%endif%}{%endwith%}{%endblock%} diff --git a/design/templates/details/fck_digg.html b/design/templates/details/fck_digg.html new file mode 100644 index 0000000..4a4be88 --- /dev/null +++ b/design/templates/details/fck_digg.html @@ -0,0 +1,21 @@ + + + + {% block pagetitle %}Luxagraf - Topografical Writings{% endblock %} + + + + + +

Dear Digg,

+ +

PISS OFF

+ +

—your friend, luxagraf

+ +

Framing breaks bookmarking, it breaks copy-and-paste from the location field, it breaks your browser history, it breaks bookmarklets. There’s nothing OK about it.

+ + \ No newline at end of file diff --git a/design/templates/details/guide.html b/design/templates/details/guide.html new file mode 100644 index 0000000..c5dc80f --- /dev/null +++ b/design/templates/details/guide.html @@ -0,0 +1,65 @@ +{% extends 'base.html' %} +{% load typogrify %} + +{% block pagetitle %}{{object.title|title|smartypants|safe}} | Luxagraf, a travelogue | {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}){% endblock %} + +{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %} +{%block extrahead%} + + + + + +{%endblock%} +{%block htmlclass%}{% with object.template_name as t %} +class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}"{%endwith%}{%endblock%} + + +{% block primary %} +
+
+

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

+ + +
+
+ {{object.body_html|smartypants|widont|safe}} +
{%if object.template_name == 1 %} +
{%endif%}{%if object.template_name == 3 %}
{%endif%} + {%comment%} +
+

About {{object.title|smartypants|safe}}

+

Posted , from {% if object.country_name == "United States" %}{{object.location_name|smartypants|safe}}, {{object.state_name}}{%else%}{{object.location_name|smartypants|safe}}, {{object.country_name}}{%endif%}. + Follow along on Twitter or by subscribing to the RSS Feed. For more about me, see the about page. To get in touch please use the contact form or leave a comment below.

+
+ {% endcomment %} + {% with object.get_next_published as next %} + {% with object.get_previous_published as prev %} + {%endwith%}{%endwith%} + + {%comment%} +
+

Comments

+
blog comments powered by Disqus +
+ {%endcomment%} +
+{% endblock %} +{% block js %} +{% with object.template_name as t %}{%if t == 1 or t == 3 %} + +{%endif%}{%endwith%}{%endblock%} diff --git a/design/templates/details/national-parks.html b/design/templates/details/national-parks.html new file mode 100644 index 0000000..dc3f7fb --- /dev/null +++ b/design/templates/details/national-parks.html @@ -0,0 +1,53 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | Projects | National Parks {% endblock %} +{% block metadescription %}{% endblock %} + + +{%block bodyid%}id="projects-detail"{%endblock%} + +{% block htmlclass %}class="dark"{% endblock %} + +{% block primary %} +
+

The National Parks Project

{% for object in object_list %} +
+

{{object.name}}

+
+ {{object.name}} +
+
+

{{object.tag_line}}

+ + +
+
{% endfor %} +
+{% endblock %} +{% block js %} + + + + + +{% endblock %} diff --git a/design/templates/details/photo.html b/design/templates/details/photo.html new file mode 100644 index 0000000..200995f --- /dev/null +++ b/design/templates/details/photo.html @@ -0,0 +1,85 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% block pagetitle %}Luxagraf | {{object.title|title|smartypants|safe}}{% endblock %} +{% block metadescription %}Luxagraf: Photo, {{object.title}}, Photographer: Scott Gilbertson, Published: {{ object.pub_date|date:"N j, Y" }} {{ object.pub_date|date:"h:i a" }}Camera:{%if object.exif_make%}{%if object.exif_make != 'Canon'%}{{ object.exif_make }}{%endif%} {{ object.exif_model }}{% else %}Canon Powershot S45{%endif%}, Aperture: {%if object.exif_aperture%}{{ object.exif_aperture }}{%else%}Not Recorded{%endif%}, Shutter Speed: {%if object.exif_shutter%}{{ object.exif_shutter }} sec{%else%}Not Recorded{%endif%}, Film Speed: {%if object.exif_iso%}{{ object.exif_iso }} ISO{%else%}Not Recorded{%endif%}.{% endblock %} +{% block date %}{{object.pub_date|date:"F j, Y"}}{% endblock %} + + + + {% block title %}{{object.title|smartypants|safe}}{% endblock %} + + + {% block primary %} + + {{object.title}} + {% if object.description != 'None' %} +

{{ object.description|smartypants|widont|safe }}

+ {%endif %} +

Other Sizes: Large and + Original

+ + + +
+ + + +

If you enjoy this photo, you can follow along on Flickr, Facebook, FriendFeed or by subscribing to the RSS Feed. For more about luxagraf, see the about page. To get in touch please use the contact form or leave a comment below.

+
+ + +

comments

+

If you'd like to leave a comment, you may do so on Flickr.

+ + {% endblock %} + + + +{% block sidebar %} + +{% endblock %} \ No newline at end of file diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html new file mode 100644 index 0000000..e61c9b7 --- /dev/null +++ b/design/templates/details/photo_galleries.html @@ -0,0 +1,70 @@ +{% extends 'base.html' %} +{% load typogrify %} +{% load number_to_word %} + +{% block pagetitle %}{{object.set_title}} - Luxagraf, Photos{% endblock %} +{%block htmlclass%}class="black"{%endblock%} + + +{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %} + +{%block bodyid%}class="image_gallery"{%endblock%} + +{% block primary %} +

Use left/right arrow keys to navigate through photos

+
+

Photos from {{object.set_title}}

{%for photo in object.photos.all reversed %} +
+
+
{{photo.title}}
+
+
+

{{photo.title}}   

+ Map + {%if photo.description %}

{{photo.description|safe}}

{%endif%} +
+
+

{% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}Panasonic GF1 w/{%endif%} {%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}Lumix 14-45mm lens{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}Lumix 20mm prime lens{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}Lumix 45-200mm lens{%endif%}{%if photo.exif_lens == 'OLYMPUS M.9-18mm F4.0-5.6' %}Olympus 9-18mm lens{%endif%}{%if photo.exif_lens == None %}{%endif%}

+

{{photo.exif_exposure}} sec @ {{photo.exif_aperture}}, ISO {{photo.exif_iso}}

+ + +
+ + {%comment%} + + {%endcomment%} +
+
+ {% endfor %} +
+{%endblock%} + +{% block js %} + + + + +{% endblock%} + + diff --git a/design/templates/feeds/blog_description.html b/design/templates/feeds/blog_description.html new file mode 100644 index 0000000..29c4f44 --- /dev/null +++ b/design/templates/feeds/blog_description.html @@ -0,0 +1 @@ +{{obj.body_html|safe}} \ No newline at end of file diff --git a/design/templates/feeds/links_description.html b/design/templates/feeds/links_description.html new file mode 100644 index 0000000..09d5411 --- /dev/null +++ b/design/templates/feeds/links_description.html @@ -0,0 +1 @@ +{{obj.description|safe }} \ No newline at end of file diff --git a/design/templates/gis/admin/google.html b/design/templates/gis/admin/google.html new file mode 100644 index 0000000..460d28d --- /dev/null +++ b/design/templates/gis/admin/google.html @@ -0,0 +1,5 @@ +{% extends "gis/admin/openlayers.html" %} +{% block extrastyle %}{{ block.super }} + +{% endblock %} +{% block openlayers %}{% include "gis/admin/google.js" %}{% endblock %} \ No newline at end of file diff --git a/design/templates/gis/admin/google.js b/design/templates/gis/admin/google.js new file mode 100644 index 0000000..a7d1467 --- /dev/null +++ b/design/templates/gis/admin/google.js @@ -0,0 +1,2 @@ +{% extends "gis/admin/openlayers.js" %} +{% block base_layer %}new OpenLayers.Layer.Google("Google Base Layer", {'type': G_NORMAL_MAP, 'sphericalMercator' : true});{% endblock %} \ No newline at end of file diff --git a/design/templates/oldbase.html b/design/templates/oldbase.html new file mode 100644 index 0000000..ecf2a5c --- /dev/null +++ b/design/templates/oldbase.html @@ -0,0 +1,86 @@ + + + + + + + + {% block pagetitle %}Luxagraf - Topografical Writings{% endblock %} + + + + + {%block stylesheet%}{%endblock%} + + + + + + + {%block extrahead%}{%endblock%} + + + +
+
+

+

{a travelogue}

+
+ +
+ {% block primary %} +
+ +
+ {% endblock %} + {% block extrabody %} {% endblock %} + +
+ + {% block js %}{% endblock%} + + + + -- cgit v1.2.3-70-g09d2