Browse Source

Merge pull request #230 from helloxz/dev

fix default2
main 1.2.1
xiaoz 11 hours ago committed by GitHub
parent
commit
64052bc7dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      templates/default2/index.php
  2. 4
      templates/default2/info.json
  3. 0
      templates/default3/index.php
  4. 2
      version.txt

6
templates/default2/index.php

@ -6,10 +6,8 @@
<meta content="<?php echo $site['description']; ?>" name="description"> <meta content="<?php echo $site['description']; ?>" name="description">
<meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title> <title><?php echo $site[ 'title']; ?> - <?php echo $site[ 'subtitle']; ?></title>
<?php echo $site[ 'title']; ?> - <?php echo $site[ 'subtitle']; ?></title> <script type="module" crossorigin src="/templates/<?php echo $template; ?>/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/<?php echo $template; ?>/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']; ?> <?php echo $site['custom_header']; ?>
<link rel="manifest" href="/templates/<?php echo $template; ?>/manifest.json" /> <link rel="manifest" href="/templates/<?php echo $template; ?>/manifest.json" />

4
templates/default2/info.json

@ -3,8 +3,8 @@
"description": "OneNav目前功能最强大的默认主题,推荐使用。", "description": "OneNav目前功能最强大的默认主题,推荐使用。",
"homepage": "https:\/\/blog.xiaoz.org", "homepage": "https:\/\/blog.xiaoz.org",
"help_url":"https://dwz.ovh/gnae4", "help_url":"https://dwz.ovh/gnae4",
"version": "1.3.2", "version": "1.3.3",
"update": "2025\/08\/14", "update": "2025\/08\/19",
"author": "xiaoz<xiaoz93@outlook.com>", "author": "xiaoz<xiaoz93@outlook.com>",
"screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png", "screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png",
"demo":"https://nav.rss.ink", "demo":"https://nav.rss.ink",

0
templates/default3/index.php

2
version.txt

@ -1 +1 @@
v1.2.0-20250814 v1.2.1-20250819
Loading…
Cancel
Save