mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Improved mermaid and photoswipe extensions, handled control-s on the edit page.
20 lines
626 B
HTML
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 %}
|