summaryrefslogtreecommitdiff
path: root/includes/header.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-27 01:32:20 +0800
committerEltrac Koalar <hi@guhub.cn>2022-08-27 01:32:20 +0800
commit4d50c2ea56095ae788fa9f11e69cb17fb81031f1 (patch)
tree775105c1e6ab036e6345554506e6911251f6fa37 /includes/header.php
parentcfc80a31140b29f219c54dc19dca63b919e645e3 (diff)
:last_quarter_moon: Add: 支持自动切换夜间模式
同时添加了夜间模式相关的设置项
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php
index ce0aefd..4a5ba24 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -1,6 +1,6 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need("includes/head.php"); ?>
-<body>
+<body<?php Matcha::ifDark(); ?>>
<?php $this->need('includes/sidebar.php'); ?>
<div id="body">
<div class="container">