2017-09-29 16:19:31 +02:00
|
|
|
| {% import 'nodes/custom/blog/_macros.html' as blogmacros %}
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
#blog_container(class="{% if project and project._id == config.MAIN_PROJECT_ID %}cloud-blog{% endif %}")
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
#blog_post-container
|
|
|
|
| {% if project and project._id == config.MAIN_PROJECT_ID %}
|
|
|
|
a.btn.btn-default.button-back(href="{{ url_for('projects.view', project_url=project.url) }}blog")
|
|
|
|
| Back to Blog
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
| {% 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
|
2016-08-19 09:19:06 +02:00
|
|
|
| {% endif %}
|
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
.clearfix
|
|
|
|
| {% endif %}
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-09-29 16:19:31 +02:00
|
|
|
| {{ blogmacros.render_blog_post(node) }}
|
2017-01-20 13:13:11 +01:00
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
#comments-embed
|
2017-09-30 23:21:54 +02:00
|
|
|
.comments-list-loading
|
2017-02-08 18:10:05 +01:00
|
|
|
i.pi-spin
|
2017-01-20 13:13:11 +01:00
|
|
|
|
2017-02-08 18:10:05 +01:00
|
|
|
include ../_scripts
|