Files
i2p.www/i2p2www/pages/blog/post.html

23 lines
746 B
HTML

{% extends "global/layout.html" %}
{%- from "global/macros" import render_categories with context -%}
{% block title %}{{ title }} - {{ _('Blog') }}{% endblock %}
{% block content %}
{% if meta.category and 'summer-dev' in meta.category %}
<div id="blog-topimg">
<img src="{{ url_for('static', filename='images/I2PSummerDev-Primary.svg') }}" alt="I2P Summer Dev" title="I2P Summer Dev">
</div>
{% endif %}
<div class="meta">
<ul id="post-info">
<li class="date">{{ _('Posted:') }} {{ meta.date }}</li>
<li class="author">{{ _('Author:') }} {{ meta.author }}</li>
<li class="category">{{ render_categories(meta.category)|safe }}</li>
</ul>
</div>
<div id="post">
{% autoescape false %}
{{ body }}
{% endautoescape %}
</div>
{% endblock %}