提交 78546f8f 编写于 作者: S Samy Pessé

Fix js execution

上级 b23c5557
...@@ -36,16 +36,22 @@ ...@@ -36,16 +36,22 @@
{% if resource.url %} {% if resource.url %}
<link rel="stylesheet" href="{{ resource.url }}"> <link rel="stylesheet" href="{{ resource.url }}">
{% else %} {% else %}
<link rel="stylesheet" href="{{ staticBase }}/plugins/{{ resource.path }}"> <link rel="stylesheet" href="{{ resource.path|resolveAsset }}">
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for type, style in styles %} {% for type, style in styles %}
<link rel="stylesheet" href="{{ basePath }}/{{ style }}"> <link rel="stylesheet" href="{{ style|resolveFile }}">
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
{% block body %} {% block body %}
<div class="book"> <div class="book"
data-level="{{ page.level }}"
data-chapter-title="{{ page.title }}"
data-filepath="{{ file.path }}"
data-basepath="{{ './'|resolveFile }}"
data-revision="{{ gitbook.time }}"
data-innerlanguage="{{ innerlanguage }}">
{% include "website/summary.html" %} {% include "website/summary.html" %}
<div class="book-body"> <div class="book-body">
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
<li class="divider"></li> <li class="divider"></li>
{% endfor %} {% endfor %}
<li class="divider"></li>
<li> <li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link"> <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
{{ __("GITBOOK_LINK") }} {{ __("GITBOOK_LINK") }}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册