Files
I2P_Website/i2p2www/pages/blog/index.html
2013-01-09 00:32:32 +00:00

31 lines
849 B
HTML

{% extends "global/layout.html" %}
{% block title %}Blog Index{% endblock %}
{% block headextra %}
<link href="{{ url_for('blog_atom', lang=g.lang) }}" type="application/atom+xml" rel="alternate" title="I2P Blog ATOM Feed" />
{%- endblock %}
{% block content %}
<p>Some descriptive text.</p>
<ul id="posts">
{% for post in posts %}
<li>
<article>
<header>
<a href="{{ url_for('blog_post', slug=post[0]) }}">{{ post[2] }}</a>
</header>
{%- if post[3].excerpt %}
<p>{{ post[3].excerpt }}</p>
{%- endif %}
<footer>
<ul>
<li>{{ post[1] }}</li>
<li>{{ post[3].author }}</li>
</ul>
</footer>
</article>
</li>
{% endfor %}
</ul>
{%- from "global/macros" import render_pagination with context -%}
{{ render_pagination(pagination) | safe }}
{% endblock %}