diff --git a/templates/accueil.html b/templates/accueil.html index 68c5962..f1789fe 100644 --- a/templates/accueil.html +++ b/templates/accueil.html @@ -41,7 +41,7 @@

Mouarf j'ai perdu mon mot de passe

- {% if list_post %} + {% if list_posts %}

Les derniers articles de blog sur le serveur

@@ -49,7 +49,7 @@

{{ article.title }}

-
par /{{ article.author }}
+
par {{ article.author }}

Créé le : {{ article.creation_date }}
{% if article.last_updated %} diff --git a/templates/index_author_blog.html b/templates/index_author_blog.html index d9b3ffe..9cbe0d8 100644 --- a/templates/index_author_blog.html +++ b/templates/index_author_blog.html @@ -2,7 +2,7 @@ Le Blog du serveur - + @@ -13,8 +13,9 @@ {% else %} - + S'abonner au flux RSS
+ S'abonner au fl RSS {% for post in posts %}

{{ post.title }}

diff --git a/templates/index_blog.html b/templates/index_blog.html index 5045502..7d1fc20 100644 --- a/templates/index_blog.html +++ b/templates/index_blog.html @@ -20,7 +20,7 @@
- S'abonner au flux RSS + Suivre ce blog par RSS {% for post in posts %}

{{ post.title }}

diff --git a/views/blog.py b/views/blog.py index c9efbe7..ba6f7cf 100644 --- a/views/blog.py +++ b/views/blog.py @@ -223,7 +223,7 @@ def viewuser(author): posts=[dict(title=post[0], subtitle=post[1], creation_date=post[2], last_updated=post[3], author=post[4], status=post[5])] + posts - return render_template('index_author_blog.html', section='Blog', posts=posts, author=author) + return render_template('index_blog.html', section='Blog', posts=posts, author=author) @blog.route('/blog//rss.xml', methods=['GET']) def viewauthorrss(author):