blob: a91517e867efd520e1510de815c176e67012406d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% extends 'base.html' %}
{% load thumbnail %}
{% block title %}{{ object.title }}{% endblock %}
{% block content %}
<p class="news_date">{{ object.date_updated|date:"DATETIME_FORMAT" }}</p>
<h2 id="{{ object.slug }}">{{ object.title }}</h2>
{% if object.image %}
<div class="imagecontent">
<a href="{% url news_image object.slug %}">
{% thumbnail object.image "200" upscale=False as image %}
<img src="{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}" align="right" />
{% endthumbnail %}
</a>
</div>
{% endif %}
{{ object.content_html|safe }}
<p class="header">{{ object.author }}</p>
{% endblock content %}
|