2023-01-29 10:41:50 +08:00
|
|
|
<?php use SukWs\Bookshelf\Data\SiteConfig\ConfigName; ?>
|
2023-01-24 20:30:27 +08:00
|
|
|
<?php use SukWs\Bookshelf\Data\SiteMeta; ?>
|
|
|
|
<?php use SukWs\Bookshelf\Data\PageMeta; ?>
|
2021-03-23 00:51:45 +08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html lang="<?= "" // TODO Page language ?>">
|
|
|
|
<head>
|
2021-09-30 19:34:16 +08:00
|
|
|
<!-- Static Meta -->
|
2021-03-23 00:51:45 +08:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
|
|
<meta name="HandheldFriendly" content="true" />
|
2021-09-30 19:34:16 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-03-23 00:51:45 +08:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2021-09-30 19:34:16 +08:00
|
|
|
<meta name="generator" content="<?= SiteMeta::get_frontpage_generate_version() ?>">
|
2021-03-23 00:51:45 +08:00
|
|
|
<!-- Page Meta -->
|
2021-09-30 19:34:16 +08:00
|
|
|
<link rel="shortcut icon" href="<?= SiteMeta::getGlobalIcon() ?>">
|
2021-03-23 00:51:45 +08:00
|
|
|
<title><?= PageMeta::getPageTitle() ?></title>
|
|
|
|
<meta name="description" content="<?= PageMeta::getDescription() ?>">
|
2021-11-25 03:36:59 +08:00
|
|
|
<!-- Assets(css) --><?php
|
2021-11-24 14:24:09 +08:00
|
|
|
foreach (SiteMeta::getStylesheetsList() as $item) {
|
|
|
|
if ($item==null) continue;
|
2021-11-25 03:36:59 +08:00
|
|
|
echo "\n\t\t";
|
2021-03-23 00:51:45 +08:00
|
|
|
echo "<link rel=\"stylesheet\" href=\"$item\">";
|
|
|
|
}
|
2021-11-25 03:36:59 +08:00
|
|
|
echo "\n";
|
2021-03-23 00:51:45 +08:00
|
|
|
?>
|
2021-05-05 13:42:29 +08:00
|
|
|
<!-- Customs(css) -->
|
2021-11-24 14:24:09 +08:00
|
|
|
<style>
|
|
|
|
:root {
|
2023-01-29 10:41:50 +08:00
|
|
|
--bcm-color-codeblock-background: <?= PageMeta::getConfigurationLevelPage(ConfigName::codeblock_bg) ?>;
|
|
|
|
--bcm-color-codeblock-foreground: <?= PageMeta::getConfigurationLevelPage(ConfigName::codeblock_fg) ?>;
|
|
|
|
}
|
|
|
|
pre code {
|
|
|
|
tab-size: <?= PageMeta::getConfigurationLevelPage(ConfigName::codeblock_tab_size) ?>;
|
2021-11-24 14:24:09 +08:00
|
|
|
}
|
|
|
|
</style>
|
2021-05-05 13:42:29 +08:00
|
|
|
<style><?= SiteMeta::getCustomCssContent("custom") ?></style>
|
2021-03-23 00:51:45 +08:00
|
|
|
</head>
|
|
|
|
<body>
|