flask-site/templates/blog.html

18 lines
513 B
HTML
Raw Normal View History

{% extends "master.html" %}
{% block body %}
2016-03-27 18:52:05 +00:00
<div class="section-wrapper">
<div class="section">
<h2>blog</h2>
{% for entry in entries %}
<div class="blog-entry">
<h3><a href="{{ url_for('blog') }}/{{ entry.url }}">{{ entry.title }}</a></h3>
<h5>{{ entry.updated }}</h5>
{{ entry.text|safe }}
</div>
2016-03-27 18:52:05 +00:00
{% else %}
<em>Sorry, I still haven't gotten around to moving my blog posts over!</em>
2016-03-27 18:52:05 +00:00
{% endfor %}
</div>
</div>
{% endblock %}