summaryrefslogtreecommitdiff
path: root/djangoproject/templates/blog/entry_detail.html
blob: ec1ef73b1252e2ba91121c78ce080ad0a33cf617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "base_weblog.html" %}
{% load i18n %}

{% block title %}{{ object.headline|escape }} | Weblog{% endblock %}

{% block description %}{{ object.description }}{% endblock %}

{% block og_tags %}
    {% for property, content in object.opengraph_tags.items %}
        <meta property="{{ property }}" content="{{ content }}" />
    {% endfor %}
{% endblock og_tags %}

{% block content %}
    <h1>{{ object.headline|safe }}</h1>

    <span class="meta">
        {% blocktranslate trimmed with author=object.author pub_date=object.pub_date|date:"DATE_FORMAT" %}
            Posted by <strong>{{ author }}</strong> on {{ pub_date }}
        {% endblocktranslate %}
    </span>
    <div class="blog-entry-body">{{ object.body_html|safe }}</div>
{% endblock content %}