Source

PIGS / templates / blog / home.html

{% extends 'blog/base.html' %}

{% block head_extra %}
{% endblock %}

{% block blog_list %}
    {% for b in blogs %}
    <div class="blog">
        <div class="title">
        {{ b.title }}
        </div>
        <div class="info">
        {{ b.dtime }}
        </div>
        <div class="content">
        {{ b.content }}
        </div>
    </div>
    {% endfor %}
{% endblock %}