summaryrefslogtreecommitdiff
path: root/404.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-13 14:21:11 +0800
committerGitHub <noreply@github.com>2022-08-13 14:21:11 +0800
commitf8cefbddee3b1005d7af569e4fc89c3f6059c008 (patch)
tree8d731045d1be526ddafdf24e2cb2369f4a8b2c84 /404.php
parent31e5c29c1a030d8f8d169b81386e659c1e2fb11f (diff)
init
Diffstat (limited to '404.php')
-rw-r--r--404.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/404.php b/404.php
new file mode 100644
index 0000000..6a2a210
--- /dev/null
+++ b/404.php
@@ -0,0 +1,16 @@
+<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
+<?php $this->need('header.php'); ?>
+
+ <div class="col-mb-12 col-tb-8 col-tb-offset-2">
+
+ <div class="error-page">
+ <h2 class="post-title">404 - <?php _e('页面没找到'); ?></h2>
+ <p><?php _e('你想查看的页面已被转移或删除了, 要不要搜索看看: '); ?></p>
+ <form method="post">
+ <p><input type="text" name="s" class="text" autofocus /></p>
+ <p><button type="submit" class="submit"><?php _e('搜索'); ?></button></p>
+ </form>
+ </div>
+
+ </div><!-- end #content-->
+ <?php $this->need('footer.php'); ?>