diff --git a/template/app_doc/doc.html b/template/app_doc/doc.html index 0f68a08..b5869ab 100644 --- a/template/app_doc/doc.html +++ b/template/app_doc/doc.html @@ -43,6 +43,8 @@ {% block page_content %} {% if doc.editor_mode == 3 %} {{ doc.content | safe }} + {% elif doc.editor_mode == 2 %} + {% elif doc.editor_mode == 4 %}
diff --git a/template/app_doc/docs_base.html b/template/app_doc/docs_base.html index d11714c..b1ac2f9 100644 --- a/template/app_doc/docs_base.html +++ b/template/app_doc/docs_base.html @@ -16,15 +16,17 @@ {% block title %}{% endblock %} - {% if site_name != None and site_name != '' %}{{site_name}} {% else %}{% trans "站点标题" %}{% endif %} {% if doc.editor_mode != 4 %} - - {% elif doc.editor_mode == 2 %} - - {% elif doc.editor_mode == 4 %} - - - - - + + {% endif %} + {% if doc.editor_mode == 2 %} + + {% endif %} + {% if doc.editor_mode == 4 %} + + + + + {% endif %}