Skip to content

Commit

Permalink
✨ 使用quicklink加载页面
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Dec 18, 2018
1 parent 67f6ac9 commit 58801ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/static/plugins/quicklink/quicklink.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main/resources/templates/admin/module/_macro.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<#if (options.blog_locale!'zh_CN') == 'zh_CN'>
<script src="/static/plugins/fileinput/zh.min.js"></script>
</#if>
<script src="/static/plugins/quicklink/quicklink.js"></script>
<script src="/static/js/halo.min.js"></script>
<@compress single_line=true>
<script>
Expand All @@ -57,6 +58,7 @@
<#if (options.admin_pjax!'true') == 'true'>
$(document).pjax('a[data-pjax=true]', '.content-wrapper', {fragment: '.content-wrapper',timeout: 8000});
</#if>
quicklink();
var heading = "<@spring.message code='common.text.tips' />";
</script>
</@compress>
Expand Down

0 comments on commit 58801ec

Please sign in to comment.