diff --git a/src/templates/nodes/custom/page/view_embed.pug b/src/templates/nodes/custom/page/view_embed.pug index 8d3bdb4d..dabce157 100644 --- a/src/templates/nodes/custom/page/view_embed.pug +++ b/src/templates/nodes/custom/page/view_embed.pug @@ -5,6 +5,14 @@ include ../../../mixins/components | {% block bodyclasses %}{% endblock %} | {% block body %} +| {% if project and project.has_method('PUT') %} ++nav-secondary + +nav-secondary-link( + href="{{ url_for('nodes.edit', node_id=node._id) }}") + i.pi-edit.pr-2 + span Edit Post +| {% endif %} + | {% if node.picture %} .expand-image-links.imgs-fluid +jumbotron(