smeagol/resources/templates/wiki.html
Simon Brooke c19580a23e
War on TODOs
Improved mermaid and photoswipe extensions, handled control-s on the edit page.
2020-02-20 13:42:17 +00:00

20 lines
626 B
HTML

{% extends "templates/base.html" %}
{% block extra-headers %}
{% for script in scripts %}
<script src="{{script}}"></script>{% endfor %}
{% for style in styles %}
<link href="{{style}}" rel="stylesheet" type="text/css" />{% endfor %}
{% endblock %}
{% block content %}
<div id="content" class="wiki">
{% if editable %}
<ul class="minor-controls">
<li><a href="{{servlet-context}}/edit?page={{title}}">{% i18n edit-page-link %}</a></li>
<li><a href="history?page={{page}}">{% i18n history-link %}</a></li>
</ul>
{% endif %}
{{content|safe}}
</div>
{% endblock %}