summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-06-19 18:22:28 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-06-19 18:22:28 +0000
commit689ea1ee3568621bf51e69112b024c4db042077a (patch)
tree8ffed65b489137db373e91c004f5ef49f08d8eb9 /templates
parent09c2fe82662331998a94ba3b5c1738d184d61b1a (diff)
added mobile middleware and templates
Diffstat (limited to 'templates')
-rw-r--r--templates/mobile/archives/homepage.html1
-rw-r--r--templates/mobile/base.html89
2 files changed, 90 insertions, 0 deletions
diff --git a/templates/mobile/archives/homepage.html b/templates/mobile/archives/homepage.html
new file mode 100644
index 0000000..63913c1
--- /dev/null
+++ b/templates/mobile/archives/homepage.html
@@ -0,0 +1 @@
+{% extends "base.html" %} \ No newline at end of file
diff --git a/templates/mobile/base.html b/templates/mobile/base.html
new file mode 100644
index 0000000..f9c383b
--- /dev/null
+++ b/templates/mobile/base.html
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>{% block pagetitle %}Luxagraf Mobile - Topografical Writings{% endblock %}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+ <link rel="alternate"
+ type="application/rss+xml"
+ title="RSS 2.0"
+ href="http://feeds2.feedburner.com/luxagraf/blog">
+
+
+ <link rel="stylesheet"
+ href="{{MEDIA_URL}}css/mobile.css"
+ type="text/css"
+ media="screen">
+
+ {%block stylesheet%}{%endblock%}
+
+
+ <link rel="shortcut icon"
+ href="http://media.luxagraf.net/img/favicon.ico"
+ type="image/vnd.microsoft.icon">
+
+ <link rel="apple-touch-icon"
+ href="http://media.luxagraf.net/img/luxagrafiphoneicon.png">
+
+ <meta name="author" content="luxagraf">
+ <meta name="description"
+ content="{% block metadescription %}Luxagraf: a travelogue of sorts, Recording journeys around the world and just next door.{% endblock %}">
+ <meta name="keywords"
+ content="luxagraf writing travel authors philosophy ramblings">
+ <meta name="copyright"
+ content="Licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License">
+
+
+<meta name="verify-v1" content="ZCZSYGNdjeLCPx5trSQELyhY9kq9N7CznTcv5JFkpnM=">
+{%block extrahead%}{%endblock%}
+</head>
+
+<body {%block bodyid%}{%endblock%}{%block bodyevents%}{%endblock%}>
+ <header>
+ <hgroup>
+
+ <h1><a href="/" title="home">Luxagraf</a></h1>
+ <h2><a href="/about/" title="About Luxagraf">{a travelogue}</a></h2>
+ </hgroup>
+ <nav>
+ <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="maps"><a href="/map/" title="Maps and miscellanea">Maps</a>,</li>
+ <li id="projects" ><a href="/projects/" title="Luxagraf: Projects (coming soon)">Projects</a>,</li>
+ <li id="etc"><a href="/about/" title="About Luxagraf">Etc</a></li>
+ </ul>
+ </nav>
+ </header>
+
+ {% block primary %}
+ <article>
+
+ </article>
+ {% endblock %}
+ {% block extrabody %} {% endblock %}
+
+ <div class="clearfix"></div>
+ <footer>
+ <section id="license">
+ <p>All content licensed under the Creative Commons (<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en" title="read the Attribution-Noncommercial-Share Alike 3.0 deed">details</a>). <span>Built with <a href="http://geodjango.org/" title="a GeoDjango joint">GeoDjango</a> and hosted on <a href="http://www.webfaction.com/" title="webfaction">Webfaction</a>.</span></p>
+ </section>
+ <nav>
+ <ul>
+ <li><a href="http://feeds2.feedburner.com/luxagraf/blog" title="RSS feed">RSS</a></li>
+ <li><a href="http://twitter.com/luxagraf" rel="me" title="follow luxagraf on Twitter">Twitter</a></li>
+ <li><a href="http://www.flickr.com/photos/luxagraf" rel="me" title="luxagraf on Flickr">Flickr</a></li>
+ <li><a href="/contact/" title="contact luxagraf">Contact</a></li>
+ </ul>
+ </nav>
+ <section id="view-options">
+ View in:
+ <ul>
+ <li>Mobile</li>
+ <li><a href="http://luxagraf.net/{%block mobilelink%}{%endblock%}">Desktop</a></li>
+ </ul>
+ </section>
+ </footer>
+ {% block js %}{% endblock%}
+</body>
+</html> \ No newline at end of file