Jony/public/include.php

44 lines
3.3 KiB
PHP
Raw Permalink Normal View History

2021-02-24 00:50:44 +00:00
<?php $this->need('public/config.php'); ?>
2021-01-26 13:41:01 +00:00
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />
2021-02-10 15:24:59 +00:00
<meta name="format-detection" content="email=no" />
<meta name="format-detection" content="telephone=no" />
2021-01-26 13:41:01 +00:00
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover">
<link rel="shortcut icon" href="<?php $this->options->JFavicon() ?>" />
<title><?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?></title>
2021-02-05 10:27:44 +00:00
<?php if ($this->is('single')) : ?>
2023-06-30 08:39:08 +00:00
<meta name="keywords" content="<?php echo $this->fields->keywords ? $this->fields->keywords : htmlspecialchars($this->_keywords); ?>" />
<meta name="description" content="<?php echo $this->fields->description ? $this->fields->description : htmlspecialchars($this->_description); ?>" />
<?php $this->header('keywords=&description='); ?>
2021-02-05 10:27:44 +00:00
<?php else : ?>
2023-06-30 08:39:08 +00:00
<?php $this->header(); ?>
2021-02-05 10:27:44 +00:00
<?php endif; ?>
2023-06-30 08:39:08 +00:00
<link href="<?php _getAssets('assets/css/joe.mode.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/css/joe.normalize.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/css/joe.global.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/css/joe.responsive.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/lib/qmsg/qmsg.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/lib/fancybox@3.5.7/fancybox.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/lib/animate.css@4.1.1/animate.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/lib/font-awesome@4.7.0/font-awesome.min.css'); ?>" rel="stylesheet" />
<link href="<?php _getAssets('assets/lib/APlayer@1.10.1/APlayer.min.css'); ?>" rel="stylesheet" />
<script src="<?php _getAssets('assets/lib/jquery@3.6.1/jquery.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/scroll/scroll.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/lazysizes@5.3.2/lazysizes.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/APlayer@1.10.1/APlayer.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/sketchpad/sketchpad.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/fancybox@3.5.7/fancybox.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/extend/extend.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/lib/qmsg/qmsg.min.js'); ?>"></script>
2021-03-31 08:45:08 +00:00
<?php if ($this->options->JAside_3DTag === 'on') : ?>
2023-06-30 08:39:08 +00:00
<script src="<?php _getAssets('assets/lib/3dtag/3dtag.min.js'); ?>"></script>
2021-03-31 08:45:08 +00:00
<?php endif; ?>
2023-06-30 08:39:08 +00:00
<script src="<?php _getAssets('assets/lib/smooth/smooth.min.js'); ?>" async></script>
2021-02-05 10:27:44 +00:00
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
2023-06-30 08:39:08 +00:00
<script src="<?php _getAssets('assets/cursor/' . $this->options->JCursorEffects); ?>" async></script>
2021-02-22 09:27:48 +00:00
<?php endif; ?>
2023-06-30 08:39:08 +00:00
<script src="<?php _getAssets('assets/js/joe.global.min.js'); ?>"></script>
<script src="<?php _getAssets('assets/js/joe.short.min.js'); ?>"></script>
2022-05-20 08:45:36 +00:00
<?php $this->options->JCustomHeadEnd() ?>