]> git.parisson.com Git - mezzo.git/commitdiff
fix articles page
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 10 Apr 2016 20:46:31 +0000 (22:46 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 10 Apr 2016 20:46:31 +0000 (22:46 +0200)
app/templates/blog/blog_post_list.html

index 21ddf51e37e2aa3b07f3665a83789c5546be1f7d..a7131ba126b734a3098a0ac6eb161380d46e2181 100644 (file)
@@ -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 %}
 
 {% block blog_post_list_post_metainfo %}
 {% editable blog_post.publish_date %}
 <h6 class="post-meta">
+    {% comment %}
     {% trans "Posted by" %}:
     {% with blog_post.user as author %}
     <a href="{% url "blog_post_list_author" author %}">{{ author.get_full_name|default:author.username }}</a>
     {% endwith %}
+    {% endcomment %}
     {% with blog_post.categories.all as categories %}
     {% if categories %}
     {% trans "in" %}
 {% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %}
 {% block blog_post_list_post_featured_image %}
 <a href="{{ blog_post.get_absolute_url }}">
-    <img class="img-thumbnail pull-left" src="{{ MEDIA_URL }}{% thumbnail blog_post.featured_image 90 90 %}">
+    <img class="img-thumbnail pull-left" src="{{ MEDIA_URL }}{% thumbnail blog_post.featured_image 450 450 %}">
 </a>
 {% endblock %}
 {% endif %}