mirror of https://github.com/vtrois/kratos
chore: modify author contact information
parent
ba4cd228a4
commit
711f5a3ed8
4
404.php
4
404.php
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 404 模板
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.04.12
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 评论模板
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.03.10
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 主题页脚
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.04.15
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
?>
|
||||
<div class="k-footer">
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 模板函数
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.06.25
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
define('THEME_VERSION', '3.3.2');
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 主题页眉
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.12.14
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 文章相关函数
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.24
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
// 文章链接添加 target 和 rel
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* 核心函数
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
@ -76,9 +76,9 @@ function theme_autoload()
|
|||
wp_enqueue_script('jquery', ASSET_PATH . '/assets/js/jquery.min.js', array(), '3.4.1', false);
|
||||
wp_enqueue_script('bootstrap-bundle', ASSET_PATH . '/assets/js/bootstrap.bundle.min.js', array(), '4.5.0', true);
|
||||
wp_enqueue_script('layer', ASSET_PATH . '/assets/js/layer.min.js', array(), '3.1.1', true);
|
||||
wp_enqueue_script('sticky', ASSET_PATH . '/assets/js/theia-sticky-sidebar.min.js', array(), '1.5.0', true);
|
||||
// wp_enqueue_script('sticky', ASSET_PATH . '/assets/js/theia-sticky-sidebar.min.js', array(), '1.5.0', true);
|
||||
wp_enqueue_script('dplayer', ASSET_PATH . '/assets/js/DPlayer.min.js', array(), THEME_VERSION, true);
|
||||
wp_enqueue_script('kratos', ASSET_PATH . '/assets/js/kratos.min.js', array(), THEME_VERSION, true);
|
||||
wp_enqueue_script('kratos', ASSET_PATH . '/assets/js/kratos.js', array(), THEME_VERSION, true);
|
||||
|
||||
$data = array(
|
||||
'site' => home_url(),
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* dogecloud 对象存储
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.03.17
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
if (kratos_option('g_cos', false)) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 主题选项
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.06.17
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
function getrobots()
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 站点相关函数
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.09.27
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
// 标题配置
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 文章短代码
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.20
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
function h2title($atts, $content = null, $code = "")
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* SMTP 配置
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.02.15
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
if (kratos_option('m_smtp', false)) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* ImageX 图片服务
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.06.17
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
require_once 'volcengine-imagex/vendor/autoload.php';
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 侧栏小工具
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.20
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
// 添加小工具
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 首页模板
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.18
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
|
4
page.php
4
page.php
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 页面模板
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.18
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 文章列表
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.01.06
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
?>
|
||||
<div class="article-panel">
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 表情图标
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2020.04.12
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
$smilies = '
|
||||
<a href="javascript:grin(\':razz:\')"><img src="' . ASSET_PATH . '/assets/img/smilies/razz.png" alt="" class="d-block"/></a>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 文章工具栏
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.03.10
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
?>
|
||||
<div class="toolbar clearfix">
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* 文章内容
|
||||
* @author Seaton Jiang <seaton@vtrois.com>
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @version 2021.05.22
|
||||
* @version 2021.06.25
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
|
Loading…
Reference in New Issue