Van
2019-03-19 19:03:09 +08:00
parent 20a63cbe49
commit c8131b93ca
35 changed files with 63 additions and 353 deletions

View File

@@ -38,22 +38,9 @@
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<#include "../../common-template/skin-script.ftl">
<script type="text/javascript">
var latkeConfig = {
"servePath": "${servePath}",
"staticServePath": "${staticServePath}",
"isLoggedIn": "${isLoggedIn?string}",
"userName": "${userName}"
};
var Label = {
"markedAvailable": ${markedAvailable?c},
"hljsStyle": "atom-one-light",
"langLabel": "${langLabel}",
"skinDirName": "${skinDirName}",
"tocLabel": "${tocLabel}",
"siteViewLabel": "${siteViewLabel}"
};
Util.init()
Label.tocLabel = "${tocLabel}";
Label.siteViewLabel = "${siteViewLabel}";
</script>
${plugins}