mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
update
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
{% render_bundle 'wiki' 'css' %}
|
{% render_bundle 'wiki' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block sub_title %} {{filename}} - {% endblock %}
|
{% block sub_title %} {{filename|escapejs}} - {% endblock %}
|
||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@@ -93,7 +93,7 @@ def slug(request, slug, file_path="home.md"):
|
|||||||
"shared_type": fs.s_type,
|
"shared_type": fs.s_type,
|
||||||
"user_can_write": user_can_write,
|
"user_can_write": user_can_write,
|
||||||
"file_path": file_path,
|
"file_path": file_path,
|
||||||
"filename": os.path.basename(file_path),
|
"filename": os.path.splitext(os.path.basename(file_path))[0],
|
||||||
"repo_id": wiki.repo_id,
|
"repo_id": wiki.repo_id,
|
||||||
"search_repo_id": wiki.repo_id,
|
"search_repo_id": wiki.repo_id,
|
||||||
"search_wiki": True,
|
"search_wiki": True,
|
||||||
|
Reference in New Issue
Block a user