2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-08 01:16:31 +00:00
Files
troggle/templates/expopage.html

37 lines
854 B
HTML

<!-- expopage.html - this text visible because this template has been included -->
{% extends "expobase.html" %}
{% block title %}{{ title }}{% endblock %}
{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}
{% block body %}
{% if troggle %}
<style>
h2#tophead {
margin-top: 5px;
margin-bottom: 20px;
margin-right: -22px;
margin-left: 0px;
}
h1 {
margin-top: 30px;
display: block;
}
</style>
{% endif %}
{{ body|safe }}
{% if homepage %}
{% if editable %}
<a href="{% url "editexpopage" path %}">Edit</a>
{% endif %}
{% else %}
{% if not has_menu %}
{% include "menu.html" %}
{% else %}
{% if editable %}
<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this Page</strong></a></li>
{% endif %}
{% endif %}
{% endif %}
{% endblock %}