Work on blog
rewrite entire blog section
This commit is contained in:
@@ -14,13 +14,15 @@
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
<div class="articles">
|
||||
<a href="/blog/rss.xml"> S'abonner au flux RSS </a>
|
||||
{% for post in posts %}
|
||||
|
||||
<h2 class="index"><a href="/blog/{{user}}/{{post.title}}"> {{ post.title }}</a></h2>
|
||||
<h2 class="index"><a href="/blog/{{post.author}}/{{post.title}}"> {{ post.title }}</a></h2>
|
||||
<small>
|
||||
<time datetime="{{ post.time }}">
|
||||
Publié le {{ post.creation_date }}
|
||||
Publié le {{ post.creation_date }} par <a href="{{ url_for('blog.view') }}/{{ post.author }}"> {{ post.author }}</a>
|
||||
</time>
|
||||
<br/>
|
||||
{% if post.last_updated %}
|
||||
|
||||
Reference in New Issue
Block a user