Remove author from blog posts

This commit is contained in:
Modulos 2017-04-27 03:25:14 +02:00
parent 0a5a9630cf
commit 32f52c1791
3 changed files with 4 additions and 37 deletions

View file

@ -17,21 +17,10 @@
{% render_model post "abstract" "" "" 'truncatewords_html:10' %}
</h2>
<span class="meta">
Posted
{% if post.author %}
by
<a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}">
{% if post.author.get_full_name %}
{{ post.author.get_full_name }}
{% else %}
{{ post.author }}
{% endif %}
</a>
{% endif %}
on {{ post.date_published|date:"DATE_FORMAT" }}
Posted on {{ post.date_published|date:"DATE_FORMAT" }}
</span>
</div>
</div>
</div>
</div>
</header>
</header>

View file

@ -16,18 +16,7 @@
</h2>
</a>
<p class="post-meta" style="font-size:0.9em;">
Posted
{% if post.author %}
by
<!-- <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}"> -->
{% if post.author.get_full_name %}
{{ post.author.get_full_name }}
{% else %}
{{ post.author }}
{% endif %}
<!-- </a> -->
{% endif %}
on {{ post.date_published|date:"DATE_FORMAT" }}
Posted on {{ post.date_published|date:"DATE_FORMAT" }}
</p>
<p class="post-subtitle">

View file

@ -16,18 +16,7 @@
</h2>
</a>
<p class="post-meta" style="font-size:0.9em;">
Posted
{% if post.author %}
by
<!-- <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}"> -->
{% if post.author.get_full_name %}
{{ post.author.get_full_name }}
{% else %}
{{ post.author }}
{% endif %}
<!-- </a> -->
{% endif %}
on {{ post.date_published|date:"DATE_FORMAT" }}
Posted on {{ post.date_published|date:"DATE_FORMAT" }}
</p>
<p class="post-subtitle">