digitalglarus: templates. blog_meta inline metadata.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
6bc4d5a6a2
commit
c10fea0169
1 changed files with 12 additions and 15 deletions
|
@ -1,16 +1,13 @@
|
|||
{% load i18n thumbnail %}
|
||||
|
||||
<ul class="post-detail">
|
||||
<ul class="post-detail list-inline">
|
||||
{% if post.author %}
|
||||
<li>
|
||||
{% trans "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>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
{{ post.date_published|date:"DATE_FORMAT" }}
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="post-detail tags">
|
||||
<ul class="post-detail tags list-inline">
|
||||
{% if post.categories.exists %}
|
||||
{% for category in post.categories.all %}
|
||||
{% if category.slug %}
|
||||
|
|
Loading…
Reference in a new issue