mirror of https://github.com/vtrois/kratos
chore: change author email
parent
1a2ae85ef4
commit
9f499eaf50
6
404.php
6
404.php
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 404 模板
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
@ -27,4 +27,4 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*!
|
||||
* Kratos
|
||||
* Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* Seaton Jiang <hi@seatonjiang.com>
|
||||
*/
|
||||
;(function () {
|
||||
'use strict'
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 评论模板
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) {
|
||||
|
@ -85,4 +85,4 @@ if (comments_open()) { ?>
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 主题页脚
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
?>
|
||||
<div class="k-footer">
|
||||
|
@ -63,4 +63,4 @@
|
|||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 模板函数
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
define('THEME_VERSION', '4.0.3');
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 主题页眉
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
@ -79,4 +79,4 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"POT-Creation-Date: 2021-06-25 12:32:35+00:00\n"
|
||||
"PO-Revision-Date: 2021-08-19 12:18+0800\n"
|
||||
"Last-Translator: Seaton Jiang <seatonjiang@vtrois.com>\n"
|
||||
"Last-Translator: Seaton Jiang <hi@seatonjiang.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 文章相关函数
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
// 文章链接添加 target 和 rel
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 核心函数
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.09.10
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
// CDN 资源地址
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* dogecloud 对象存储
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
if (!empty(kratos_option('g_cos_fieldset')['g_cos'])) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* 主题选项
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 站点相关函数
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
// 标题配置
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 文章短代码
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
function h2title($atts, $content = null, $code = "")
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* SMTP 配置
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
if (kratos_option('m_smtp', false)) {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* ImageX 图片服务
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.09.10
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
if (!empty(kratos_option('g_imgx_fieldset')['g_imgx'])) {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 侧栏小工具
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
// 添加小工具
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 首页模板
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
get_header(); ?>
|
||||
<div class="k-main <?php echo kratos_option('top_img_switch', true) ? 'banner' : 'color' ?>" style="background:<?php echo kratos_option('g_background', '#f5f5f5'); ?>">
|
||||
|
@ -42,4 +42,4 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -4,7 +4,7 @@ msgstr ""
|
|||
"Project-Id-Version: 87f769374581b4e7ec717067bc809033\n"
|
||||
"POT-Creation-Date: 2021-08-22 15:27+0800\n"
|
||||
"PO-Revision-Date: 2021-08-22 15:44+0800\n"
|
||||
"Last-Translator: Seaton Jiang <seatonjiang@vtrois.com>\n"
|
||||
"Last-Translator: Seaton Jiang <hi@seatonjiang.com>\n"
|
||||
"Language-Team: English\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
|
|
@ -4,7 +4,7 @@ msgstr ""
|
|||
"Project-Id-Version: 87f769374581b4e7ec717067bc809033\n"
|
||||
"POT-Creation-Date: 2021-08-22 15:27+0800\n"
|
||||
"PO-Revision-Date: 2021-08-22 15:44+0800\n"
|
||||
"Last-Translator: Seaton Jiang <seatonjiang@vtrois.com>\n"
|
||||
"Last-Translator: Seaton Jiang <hi@seatonjiang.com>\n"
|
||||
"Language-Team: Japanese\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
|
|
@ -4,7 +4,7 @@ msgstr ""
|
|||
"Project-Id-Version: 87f769374581b4e7ec717067bc809033\n"
|
||||
"POT-Creation-Date: 2021-08-22 15:27+0800\n"
|
||||
"PO-Revision-Date: 2021-08-22 15:44+0800\n"
|
||||
"Last-Translator: Seaton Jiang <seatonjiang@vtrois.com>\n"
|
||||
"Last-Translator: Seaton Jiang <hi@seatonjiang.com>\n"
|
||||
"Language-Team: Chinese Traditional\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
|
6
page.php
6
page.php
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 页面模板
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
@ -59,4 +59,4 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 文章列表
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
?>
|
||||
<div class="article-panel">
|
||||
|
@ -61,4 +61,4 @@
|
|||
<a href="<?php the_permalink(); ?>"><?php _e('阅读全文', 'kratos'); ?><i class="kicon i-rightbutton"></i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 表情图标
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
$smilies = '
|
||||
<a href="javascript:grin(\':razz:\')"><img src="' . ASSET_PATH . '/assets/img/smilies/razz.png" alt="" class="d-block"/></a>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 文章工具栏
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
?>
|
||||
<div class="toolbar clearfix">
|
||||
|
@ -19,4 +19,4 @@
|
|||
<?php } ?>
|
||||
<a href="javascript:;" id="thumbs" data-action="love" data-id="<?php the_ID(); ?>" role="button" class="btn btn-thumbs <?php if (isset($_COOKIE['love_' . $post->ID])) echo 'done'; ?>"><i class="kicon i-like"></i><span class="ml-1"><?php _e('点赞', 'kratos'); ?></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/**
|
||||
* 文章内容
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @author Seaton Jiang <hi@seatonjiang.com>
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.21
|
||||
* @version 2022.01.26
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -163,4 +163,4 @@ $col_array = array(
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -15,7 +15,7 @@ License URI: https://github.com/vtrois/kratos/blob/main/LICENSE
|
|||
|
||||
/*--------------------------------------------------------------
|
||||
>>> Kratos 样式表
|
||||
>>> Seaton Jiang <seatonjiang@vtrois.com>
|
||||
>>> Seaton Jiang <hi@seatonjiang.com>
|
||||
----------------------------------------------------------------
|
||||
|
||||
1. 全局
|
||||
|
|
Loading…
Reference in New Issue