37dd8547d666

Cleanup Tuesdays - Forgot some of the photoblog stuff.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 24 Mar 2009 18:08:11 -0400
parents eca890637bb5
children 9f1be6d74c1b
branches/tags (none)
files templates/feeds/photoblog_description.html templates/feeds/photoblog_title.html templates/photoblog/base.html templates/photoblog/entry.html

Changes

--- a/templates/feeds/photoblog_description.html	Tue Mar 24 18:05:25 2009 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-{% load markup %}
-
-<img src="{{ obj.original_image.url }}" />
-
-{{ obj.body|markdown }}
\ No newline at end of file
--- a/templates/feeds/photoblog_title.html	Tue Mar 24 18:05:25 2009 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-{{ obj.title }}
\ No newline at end of file
--- a/templates/photoblog/base.html	Tue Mar 24 18:05:25 2009 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Photo Blog{% endblock %}
-
-{% block style %}
-	<link rel="stylesheet" href="/site-media/style/photoblog.css" 
-		  type="text/css"/>
-{% endblock %}
-
-{% block header %}/ photo blog{% endblock %}
\ No newline at end of file
--- a/templates/photoblog/entry.html	Tue Mar 24 18:05:25 2009 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-{% extends "photoblog/base.html" %}
-{% load markup %}
-{% load typogrify %}
-
-{% block title %}{{ entry.title }}{% endblock %}
-
-{% block script %}
-{% endblock %}
-
-{% block content %}
-    <div id="photoblog-entry">
-        <h1 id="photoblog-entry-title">
-            <a href="{{ entry.get_absolute_url }}">
-                {{ entry.title|typogrify }}
-            </a>
-        </h1>
-        
-        <div id="photoblog-entry-date">
-            <p>
-                Posted on {{ entry.pub_date|date:"F j, Y" }}
-            </p>
-        </div>
-        
-        <img id="photoblog-main-image" src="{{ entry.original_image.url }}" />
-        
-        <div id="photoblog-entry-body" class="content">
-            {{ entry.body|markdown|typogrify }}
-        </div>
-        
-        <div id="photoblog-nav">
-            <div id="photoblog-nav-newer">
-                {% if next %}
-                    <div class="photoblog-nav-entry">
-                        <h2>Newer</h2>
-                    </div>
-                    <div class="photoblog-nav-entry">
-                        <a href="{{ next.get_absolute_url }}">
-                            <img src="{{ next.thumbnail.url }}" />
-                        </a>
-                        <h3>
-                            <a href="{{ next.get_absolute_url }}">
-                                {{ next.title }}
-                            </a>
-                        </h3>
-                    </div>
-                {% else %}
-                    &nbsp;
-                {% endif %}
-                
-            </div>
-            
-            <div id="photoblog-nav-older">
-                {% if previous %}
-                    <div class="photoblog-nav-entry">
-                        <h2>Older</h2>
-                    </div>
-                    <div class="photoblog-nav-entry">
-                        <a href="{{ previous.get_absolute_url }}">
-                            <img src="{{ previous.thumbnail.url }}" />
-                        </a>
-                        <h3>
-                            <a href="{{ previous.get_absolute_url }}">
-                                {{ previous.title }}
-                            </a>
-                        </h3>
-                    </div>
-                {% else %}
-                    &nbsp;
-                {% endif %}
-                
-            </div>
-        </div>
-    </div>
-{% endblock %}
\ No newline at end of file