mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
feat: 新增CDN资源切换
This commit is contained in:
46
page.php
Normal file → Executable file
46
page.php
Normal file → Executable file
@@ -2,34 +2,34 @@
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<?php if ($this->options->JPrismTheme) : ?>
|
||||
<link rel="stylesheet" href="<?php $this->options->JPrismTheme() ?>">
|
||||
<?php else : ?>
|
||||
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/prismjs@1.23.0/themes/prism.min.css">
|
||||
<?php endif; ?>
|
||||
<script src="https://fastly.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
|
||||
<script src="https://fastly.jsdelivr.net/npm/typecho-joe-next@6.2.4/plugin/prism/prism.min.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.post_page.min.js'); ?>"></script>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<?php if ($this->options->JPrismTheme) : ?>
|
||||
<link href="<?php $this->options->JPrismTheme() ?>" rel="stylesheet">
|
||||
<?php else : ?>
|
||||
<link href="<?php _getAssets('assets/lib/prism/prism.min.css'); ?>" rel="stylesheet">
|
||||
<?php endif; ?>
|
||||
<script src="<?php _getAssets('assets/lib/clipboard@2.0.11/clipboard.min.js'); ?>"></script>
|
||||
<script src="<?php _getAssets('assets/lib/prism/prism.min.js'); ?>"></script>
|
||||
<script src="<?php _getAssets('assets/js/joe.post_page.min.js'); ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="Joe">
|
||||
<?php $this->need('public/header.php'); ?>
|
||||
<div class="joe_container">
|
||||
<div class="joe_main">
|
||||
<div class="joe_detail" data-cid="<?php echo $this->cid ?>">
|
||||
<?php $this->need('public/batten.php'); ?>
|
||||
<?php $this->need('public/article.php'); ?>
|
||||
<?php $this->need('public/handle.php'); ?>
|
||||
<?php $this->need('public/copyright.php'); ?>
|
||||
</div>
|
||||
<?php $this->need('public/comment.php'); ?>
|
||||
</div>
|
||||
<?php $this->need('public/aside.php'); ?>
|
||||
<div id="Joe">
|
||||
<?php $this->need('public/header.php'); ?>
|
||||
<div class="joe_container">
|
||||
<div class="joe_main">
|
||||
<div class="joe_detail" data-cid="<?php echo $this->cid ?>">
|
||||
<?php $this->need('public/batten.php'); ?>
|
||||
<?php $this->need('public/article.php'); ?>
|
||||
<?php $this->need('public/handle.php'); ?>
|
||||
<?php $this->need('public/copyright.php'); ?>
|
||||
</div>
|
||||
<?php $this->need('public/footer.php'); ?>
|
||||
<?php $this->need('public/comment.php'); ?>
|
||||
</div>
|
||||
<?php $this->need('public/aside.php'); ?>
|
||||
</div>
|
||||
<?php $this->need('public/footer.php'); ?>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user