Browse Source

fix bug

pull/199/head
xiaoz 17 hours ago
parent
commit
a2461c89b5
  1. 2
      templates/default2/assets/index.css
  2. 48
      templates/default2/assets/index.js
  3. 6
      templates/default2/index.php
  4. 2
      templates/default2/info.json

2
templates/default2/assets/index.css

File diff suppressed because one or more lines are too long

48
templates/default2/assets/index.js

File diff suppressed because one or more lines are too long

6
templates/default2/index.php

@ -8,11 +8,11 @@ @@ -8,11 +8,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>
<?php echo $site[ 'title']; ?> - <?php echo $site[ 'subtitle']; ?></title>
<script type="module" crossorigin src="/templates/default2/assets/index.js?v=<?php echo $info->version; ?>""></script>
<script type="module" crossorigin src="/templates/<?php echo $template; ?>/assets/index.js?v=<?php echo $info->version; ?>""></script>
</script>
<link href="/templates/default2/assets/index.css?v=<?php echo $info->version; ?>"" rel="stylesheet">
<link href="/templates/<?php echo $template; ?>/assets/index.css?v=<?php echo $info->version; ?>"" rel="stylesheet">
<?php echo $site['custom_header']; ?>
<link rel="manifest" href="/templates/default2/manifest.json" />
<link rel="manifest" href="/templates/<?php echo $template; ?>/manifest.json" />
</head>
<body>

2
templates/default2/info.json

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
"description": "OneNav目前功能最强大的默认主题,推荐使用。",
"homepage": "https:\/\/blog.xiaoz.org",
"help_url":"https://dwz.ovh/gnae4",
"version": "1.0.0",
"version": "1.0.1",
"update": "2024\/11\/27",
"author": "xiaoz<xiaoz93@outlook.com>",
"screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png",

Loading…
Cancel
Save