From d7086e0cc5ea161bcdc0da8ecb9131c065119624 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 10 Apr 2016 22:46:31 +0200 Subject: [PATCH] fix articles page --- app/templates/blog/blog_post_list.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/templates/blog/blog_post_list.html b/app/templates/blog/blog_post_list.html index 21ddf51e..a7131ba1 100644 --- a/app/templates/blog/blog_post_list.html +++ b/app/templates/blog/blog_post_list.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load i18n mezzanine_tags blog_tags keyword_tags disqus_tags %} -{% block meta_title %}{% if page %}{{ page.meta_title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %} +{% block meta_title %}{% if page %}{{ page.meta_title }}{% else %}{% trans "Articles" %}{% endif %}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} @@ -19,7 +19,7 @@ {% if page %} {% editable page.title %}{{ page.title }}{% endeditable %} {% else %} -{% trans "Blog" %} +{% trans "Articles" %} {% endif %} {% endblock %} @@ -82,10 +82,12 @@ {% block blog_post_list_post_metainfo %} {% editable blog_post.publish_date %}
+ {% comment %} {% trans "Posted by" %}: {% with blog_post.user as author %} {{ author.get_full_name|default:author.username }} {% endwith %} + {% endcomment %} {% with blog_post.categories.all as categories %} {% if categories %} {% trans "in" %} @@ -102,7 +104,7 @@ {% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %} {% block blog_post_list_post_featured_image %} - + {% endblock %} {% endif %} -- 2.39.5