Compare commits

..

No commits in common. 'd1ffc0fd2722412590a3d54ea43147f50b77e581' and '18ea2c327e89f82e01cc48622a2ed95d8039170b' have entirely different histories.

@ -96,15 +96,6 @@
"mobile"
]
},
"ext.isekai.styles.mainPage": {
"styles": [
"ext.isekai.mainPage.less"
],
"targets": [
"desktop",
"mobile"
]
},
"lib.isekai.echarts": {
"scripts": [
"lib/echarts.custom.min.js"

@ -75,13 +75,7 @@ HTML
);
}
if ($outputPage->getUser() && $outputPage->getUser()->isRegistered()) {
$outputPage->addBodyClasses(['logged-in']);
}
if ($isIsekaiWiki) {
self::showAds($outputPage);
// 百度统计
$outputPage->addHeadItem(
'baiduhm',
@ -97,11 +91,14 @@ var _hmt = _hmt || [];
</script>
HTML
);
}
if ($outputPage->isArticle() && $outputPage->getTitle()->isMainPage()) {
// 首页样式
$outputPage->addModuleStyles(['ext.isekai.styles.mainPage']);
}
if ($outputPage->getUser() && $outputPage->getUser()->isRegistered()) {
$outputPage->addBodyClasses(['logged-in']);
}
if ($isIsekaiWiki) {
self::showAds($outputPage);
}
}

Loading…
Cancel
Save