Blog: Don't display author name on sidebar

This commit is contained in:
Pablo Vazquez 2017-10-25 15:45:46 +02:00
parent f13310d71b
commit 771b93b169
2 changed files with 4 additions and 6 deletions

View File

@ -28,7 +28,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
| {% for post in posts %}
li.jstree-node
a.jstree-anchor(
a.jstree-anchor.tree-item(
href="{{ url_for_node(node=post) }}")
.tree-item-thumbnail
| {% if post.picture %}
@ -37,8 +37,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
i.pi-document-text
| {% endif %}
span.tree-item-title {{ post.name }}
span.tree-item-info
| {{ post._created | pretty_date }} · {{ post.user.full_name }}
span.tree-item-info {{ post._created | pretty_date }}
| {% endfor %}
| {% endblock %}

View File

@ -42,7 +42,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
| {% for post in posts %}
li.jstree-node
a.jstree-anchor(
a.jstree-anchor.tree-item(
href="{{ url_for_node(node=post) }}",
class="{% if post._id == node._id %}jstree-clicked{% endif %}")
.tree-item-thumbnail
@ -52,8 +52,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
i.pi-document-text
| {% endif %}
span.tree-item-title {{ post.name }}
span.tree-item-info
| {{ post._created | pretty_date }} · {{ post.user.full_name }}
span.tree-item-info {{ post._created | pretty_date }}
| {% endfor %}
| {% endblock %}