Source

armonge.info / blog / templates / blog / post_detail.html

{% extends 'base.html' %}
{% load disqus_tags markitup_tags %}

{% block title %}
    {{ post }}
{% endblock %}
{% block content %}
    <div class="row">
	<div class="span12">
        <h1>{{ post }}</h1>
	<a href="https://plus.google.com/100558610079557530850/posts?rel=author">Por Andrés Reyes</a>
</div>
    </div>
    <div class="row">
        <div class="span2">
            <span class="date"><i class="icon-calendar"></i> {{ post.date_published.date }}</span> <br>
            {% if post.tags %}
                <span class="tags">

                <i class="icon-tag"></i>
                {% for tag in post.tags %}
                <a href="{% url blog_post_list_by_tag tag %}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
                {% endfor %}
            </span> <br>
            {% endif %}
            <span class="comments"><i class="icon-comment"></i>
                <a href="{{ post.get_absolute_url}}#disqus_thread" data-disqus-identifier="{{ post.id }}">Comentarios</a>
                {% disqus_num_replies %}
            </span> <br>

        </div>
        <div class="span10">{{ post.text|render_markup }}</div>
    </div>
    <div class="row">

        <div class="span12">
            {% set_disqus_url post.get_absolute_url %}
            {% set_disqus_title post.name %}
            {% set_disqus_identifier post.id %}
            {% disqus_show_comments %}
        </div>
    </div>
{% endblock %}