-
Notifications
You must be signed in to change notification settings - Fork 616
/
404.php
30 lines (28 loc) · 1.32 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* 404 模板
* @author Seaton Jiang <[email protected]>
* @license GPL-3.0 License
* @version 2022.01.26
*/
get_header(); ?>
<div class="k-main <?php echo kratos_option('top_img_switch', true) ? 'banner' : 'color' ?>" style="background:#ffffff">
<div class="container">
<div class="row">
<div class="col-12 page404">
<div class="thumbnail" style="background-image: url(<?php echo kratos_option('g_404', ASSET_PATH . '/assets/img/404.jpg'); ?>">
<div class="overlay"></div>
</div>
<div class="content text-center">
<div class="title pt-4"><?php _e('很抱歉,你访问的页面不存在', 'kratos'); ?></div>
<div class="subtitle pt-4"><?php _e('可能是输入地址有误或该地址已被删除', 'kratos'); ?></div>
<div class="action pt-4">
<a href="javascript:history.go(-1)" class="btn btn-outline-primary back-prevpage"><?php _e('返回上页', 'kratos'); ?></a>
<a href="<?php echo get_option('home'); ?>" class="btn btn-outline-primary ml-3 back-index"><?php _e('返回主页', 'kratos'); ?></a>
</div>
</div>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>