Blog: Don't display author name on sidebar
This commit is contained in:
@@ -28,7 +28,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
|
|||||||
|
|
||||||
| {% for post in posts %}
|
| {% for post in posts %}
|
||||||
li.jstree-node
|
li.jstree-node
|
||||||
a.jstree-anchor(
|
a.jstree-anchor.tree-item(
|
||||||
href="{{ url_for_node(node=post) }}")
|
href="{{ url_for_node(node=post) }}")
|
||||||
.tree-item-thumbnail
|
.tree-item-thumbnail
|
||||||
| {% if post.picture %}
|
| {% if post.picture %}
|
||||||
@@ -37,8 +37,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
|
|||||||
i.pi-document-text
|
i.pi-document-text
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
span.tree-item-title {{ post.name }}
|
span.tree-item-title {{ post.name }}
|
||||||
span.tree-item-info
|
span.tree-item-info {{ post._created | pretty_date }}
|
||||||
| {{ post._created | pretty_date }} · {{ post.user.full_name }}
|
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
|
|||||||
|
|
||||||
| {% for post in posts %}
|
| {% for post in posts %}
|
||||||
li.jstree-node
|
li.jstree-node
|
||||||
a.jstree-anchor(
|
a.jstree-anchor.tree-item(
|
||||||
href="{{ url_for_node(node=post) }}",
|
href="{{ url_for_node(node=post) }}",
|
||||||
class="{% if post._id == node._id %}jstree-clicked{% endif %}")
|
class="{% if post._id == node._id %}jstree-clicked{% endif %}")
|
||||||
.tree-item-thumbnail
|
.tree-item-thumbnail
|
||||||
@@ -52,8 +52,7 @@ link(href="{{ url_for('static_pillar', filename='assets/css/blog.css', v=1732017
|
|||||||
i.pi-document-text
|
i.pi-document-text
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
span.tree-item-title {{ post.name }}
|
span.tree-item-title {{ post.name }}
|
||||||
span.tree-item-info
|
span.tree-item-info {{ post._created | pretty_date }}
|
||||||
| {{ post._created | pretty_date }} · {{ post.user.full_name }}
|
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user