{% extends "layout.html" %}
{% block body %}
<div class="container">
    <div class="row">
    <table class="list">
        <thead>
        <th>文章标题</th>
        <th>发表日期</th>
        </thead>
        {% for url, title, pub_date in post %}

            <tr>
                <th><a href="{{ url }}" target="_blank">{{ title }}</a></th>
                <th>{{ pub_date|default('置顶',True) }}</th>

            </tr>

        {% endfor %}
    </table>

    <!--<div class="yahoo pagger">-->
        <!--{% for i in pagger_idx %}-->
        <!--{% if i==cur_page %}-->
        <!--<span class="current">[{{ i }}]</span>-->
            <!--{% elif i==0 %}-->

            <!--<a href="index.html" target="_self">{{ i }}</a>-->
            <!--{% else %}-->

        <!--<a href="index_{{ i }}.html" target="_self">{{ i }}</a>-->
        <!--{% endif %}-->

    <!--{% endfor %}-->

    <!--</div>-->
</div>
</div>
{% endblock %}