
- Added support for metadata in blog entries - Modified blog/index.html and blog/entry.html templates to use metadata - Migrated the most recent post over to just a .rst file and added metadata
31 lines
866 B
HTML
31 lines
866 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="blog-entries">
|
|
{% for entry in entries %}
|
|
<li>
|
|
<article>
|
|
<header>
|
|
<a href="{{ url_for('blog_entry', slug=entry[0]) }}">{{ entry[2] }}</a>
|
|
</header>
|
|
{%- if entry[3].excerpt %}
|
|
<p>{{ entry[3].excerpt }}</p>
|
|
{%- endif %}
|
|
<footer>
|
|
<ul>
|
|
<li>{{ entry[1] }}</li>
|
|
<li>{{ entry[3].author }}</li>
|
|
</ul>
|
|
</footer>
|
|
</article>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{%- from "global/macros" import render_pagination with context -%}
|
|
{{ render_pagination(pagination) | safe }}
|
|
{% endblock %}
|