templates/photoblog/entry.html @ 02c8b7019c84

Updated the ignore to hide messengerbag.
author Steve Losh <steve@stevelosh.com>
date Wed, 11 Mar 2009 17:45:21 -0400
parents 677d5ff5c56e
children (none)
{% 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 %}