1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2025-01-31 21:13:00 +08:00
ph-Bookshelf/template/footer.php

26 lines
843 B
PHP
Raw Normal View History

<?php use SukWs\Bookshelf\Data\SiteConfig\ConfigName; ?>
<?php use SukWs\Bookshelf\Data\SiteMeta; ?>
<?php use SukWs\Bookshelf\Data\PageMeta; ?>
<!-- Assets(js) --><?php
foreach (SiteMeta::getJavascriptList() as $item) {
if ($item==null) continue;
echo "\n\t\t";
echo "<script src=\"$item\"></script>";
}
echo "\n";
?>
<script><?= SiteMeta::getCustomScriptContent("custom") ?></script>
<script>
bookCurrentId = "<?= PageMeta::$bookId ?>";
pageCurrentId = "<?= PageMeta::$page_id ?>";
2023-03-27 19:13:09 +08:00
// <?php //if (!(PageMeta::getConfigurationLevelPage(ConfigName::highlightjs)=="false")) :
// ?>//hljs.highlightAll();<?php //endif; ?>
// <?php //if (!(PageMeta::getConfigurationLevelPage(ConfigName::regex_highlight)=="false")) :
// ?>//RegexColorizer.coloringAll();<?php //endif; ?>
</script>
</body>
</html>