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

View File

@@ -50,21 +50,9 @@
</div>
<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>
<#include "../../common-template/skin-script.ftl">
<script type="text/javascript">
var latkeConfig = {
"servePath": "${servePath}",
"isLoggedIn": "${isLoggedIn?string}",
"staticServePath": "${staticServePath}"
};
var Label = {
"markedAvailable": ${markedAvailable?c},
"hljsStyle": "atom-one-light",
"langLabel": "${langLabel}",
"adminLabel": "${adminLabel}",
"logoutLabel": "${logoutLabel}",
"skinDirName": "${skinDirName}"
},
maxLength = parseInt("${mostCommentArticles?size}");
$(document).ready(function () {
@@ -81,9 +69,8 @@
$(".moon-current-icon").removeClass().addClass("moon-icon");
}
Util.init();
Util.setTopBar()
$(".footer-block").each(function (num) {
var $lis = $(this).find("li");
if ($lis.length > maxLength) {