mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
29 lines
907 B
HTML
29 lines
907 B
HTML
<!doctype html>
|
|
<html lang="{{ lang }}">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<meta name="generator" content="VuePress {{ version }}" />
|
|
<meta name="theme" content="VuePress Theme Plume {{ themeVersion }}" />
|
|
<script>
|
|
;(function () {
|
|
const um = localStorage.getItem('vuepress-theme-appearance')
|
|
const sm =
|
|
window.matchMedia &&
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
if (um === 'dark' || (um !== 'light' && sm)) {
|
|
document.documentElement.classList.add('dark')
|
|
}
|
|
})()
|
|
</script>
|
|
<!--vuepress-ssr-head-->
|
|
<!--vuepress-ssr-styles-->
|
|
<!--vuepress-ssr-preload-->
|
|
<!--vuepress-ssr-prefetch-->
|
|
</head>
|
|
<body>
|
|
<div id="app"><!--vuepress-ssr-content--></div>
|
|
<!--vuepress-ssr-scripts-->
|
|
</body>
|
|
</html>
|