diff options
-rw-r--r-- | media/css/ie-photo.css | 2 | ||||
-rw-r--r-- | settings_mobile.py | 22 | ||||
-rw-r--r-- | templates/mobile/archives/homepage.html | 40 | ||||
-rw-r--r-- | templates/mobile/base.html | 86 |
4 files changed, 2 insertions, 148 deletions
diff --git a/media/css/ie-photo.css b/media/css/ie-photo.css new file mode 100644 index 0000000..4d27cd2 --- /dev/null +++ b/media/css/ie-photo.css @@ -0,0 +1,2 @@ +ul#breadcrumbs {margin-top: -30px;} +#slideshow-controls { margin-top: -30px;}
\ No newline at end of file diff --git a/settings_mobile.py b/settings_mobile.py deleted file mode 100644 index a617526..0000000 --- a/settings_mobile.py +++ /dev/null @@ -1,22 +0,0 @@ -from settings import * -from os.path import dirname, abspath - -PROJ_ROOT = abspath(dirname(__file__))+'/' -DEBUG = False -TEMPLATE_DEBUG = DEBUG -MIDDLEWARE_CLASSES = ( - 'django.middleware.cache.UpdateCacheMiddleware', - 'django.middleware.gzip.GZipMiddleware', - 'django.middleware.common.CommonMiddleware', - 'django.contrib.sessions.middleware.SessionMiddleware', - 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.middleware.doc.XViewMiddleware', - 'pagination.middleware.PaginationMiddleware', - 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', - #'django.middleware.cache.FetchFromCacheMiddleware', - -) - -TEMPLATE_DIRS = ( - PROJ_ROOT+'templates/mobile', -)
\ No newline at end of file diff --git a/templates/mobile/archives/homepage.html b/templates/mobile/archives/homepage.html deleted file mode 100644 index a925cf6..0000000 --- a/templates/mobile/archives/homepage.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "base.html" %} -{% load typogrify %} - -{% 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" width=300 /></a> - </div> - - </li> - </ul> - - </section> - <!--<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> - - </article> - - -{% endblock %} diff --git a/templates/mobile/base.html b/templates/mobile/base.html deleted file mode 100644 index ed4f76a..0000000 --- a/templates/mobile/base.html +++ /dev/null @@ -1,86 +0,0 @@ -<!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"> - <meta name="viewport" content="width = 320" /> - <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">Map</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> - <nav> - <ul> - <li id="rss"><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"> - <p>View in: </p> - <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 |