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