Complete 404 page template
This commit is contained in:
parent
ac0f8dacef
commit
f805b7c69c
18
404.php
18
404.php
|
@ -1,16 +1,12 @@
|
|||
<?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 class="col mt-5 text-center" id="main" role="main">
|
||||
<article>
|
||||
<h1 class="font-weight-bold">404 NOT FOUND.</h1>
|
||||
<p><?php _e('您要找的页面不存在!'); ?></p>
|
||||
<p><a href=<?php $this->options->siteUrl(); ?> ><?php _e('返回首页'); ?></a> </p>
|
||||
</article>
|
||||
</div><!-- end #content-->
|
||||
|
||||
<?php $this->need('footer.php'); ?>
|
||||
|
|
Loading…
Reference in New Issue