Weezy
skyphyno Copy worldwap.blogmr.com page.html code below
<div id="content" class="content singlepost">
{% if page == null %}
<div class="alert alert-danger post-not-found">
Page not found.
</div>
{% else %}
<div class="post" id="post-{{ page.id }}">
<div class="post-heading">
<h2 class="post-title">
{{ page.title }}
</h2>
</div>
<div class="post-body">
{{ page.content|raw }}
</div>
{% if site.author_id == user.id %}
<div class="admin-post-action">
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/edit/'~page.id)|url_encode }}">Edit</a>
{% if page.status == 'draft' %}
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/publish_page/'~page.id)|url_encode }}">Publish</a>
{% endif %}
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/delete/'~page.id)|url_encode }}">Delete</a>
</div>
{% endif %}
</div>
{% endif %}
</div>
Copy code