New design for project landing pages and blogs

This commit is contained in:
2018-04-16 14:33:38 +02:00
parent e5259bb56c
commit 505e3c3a6d
11 changed files with 95 additions and 34 deletions

View File

@@ -4,15 +4,13 @@
#blog_index-container.expand-image-links
.blog-action
| {% if project and project._id == config.MAIN_PROJECT_ID %}
| {% if node.has_method('PUT') %}
a.btn.btn-default.button-edit(href="{{url_for('nodes.edit', node_id=node._id)}}")
i.pi-edit
| Edit Post
| {% endif %}
| {% endif %}
| {{ blogmacros.render_blog_post(node) }}
| {{ blogmacros.render_blog_post(node, project=project) }}
#comments-embed
.comments-list-loading