templates/photoblog/entry.html @ 80a83fa13e59
Fixing the ampersand color in links.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 11 Mar 2009 19:01:29 -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 %}
{% 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 %}
{% endif %}
</div>
</div>
</div>
{% endblock %}