-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
4,012 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
/** | ||
* 404 | ||
* | ||
* @package custom | ||
* | ||
*/ | ||
?> | ||
|
||
|
||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> | ||
|
||
<?php $this->need('head.php'); ?> | ||
|
||
|
||
<main class="main-content"> | ||
|
||
<div style=" | ||
color: #bbbbbb; | ||
width: 100%; | ||
text-align: center; | ||
margin-top: 148px; | ||
"> | ||
|
||
<p style="font-size: 32px">404</p> | ||
|
||
<br /> | ||
|
||
<p style="font-size: 12px">这个页面走丢了,品一下这句诗词吧~</p> | ||
|
||
</div> | ||
|
||
|
||
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script> | ||
<div id="poem_sentence" style="font-size: 14px;text-align: center;margin-top: 8vh"></div> | ||
<div id="poem_info" style="font-size: 10px;text-align: center;"></div> | ||
<script type="text/javascript"> | ||
jinrishici.load(function(result) { | ||
var sentence = document.querySelector("#poem_sentence") | ||
var info = document.querySelector("#poem_info") | ||
sentence.innerHTML = result.data.content | ||
info.innerHTML = '【' + result.data.origin.dynasty + '】' | ||
+ result.data.origin.author + '《' + result.data.origin.title + '》' | ||
}); | ||
</script> | ||
|
||
|
||
</main> | ||
|
||
|
||
|
||
|
||
<?php $this->need('footer.php'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/** | ||
* 关于 | ||
* | ||
* @package custom | ||
* | ||
* 在创建该页面时,公开度设置为隐藏,否则会多一个关于页面。 | ||
*/ | ||
?> | ||
|
||
|
||
|
||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> | ||
|
||
<?php $this->need('head.php'); ?> | ||
|
||
<?php $this->need('header.php'); ?> | ||
|
||
</br></br></br> | ||
|
||
|
||
<article class="mod-post mod-post__type-post"> | ||
<header> | ||
<h1 class="mod-post__title"> | ||
<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a> | ||
</h1> | ||
</header> | ||
<div class="mod-post__entry wzulli"> | ||
<?php $this->content(); ?> | ||
</div> | ||
<div class="mod-post__meta"></div> | ||
|
||
|
||
</article> | ||
|
||
|
||
<!-- <?php $this->need('comments.php'); ?> --> | ||
<?php $this->need('footer.php'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?php | ||
/** | ||
* 归档 | ||
* | ||
* @package custom | ||
* | ||
*/ | ||
?> | ||
|
||
|
||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> | ||
|
||
<?php $this->need('head.php'); ?> | ||
|
||
<?php $this->need('header.php'); ?> | ||
|
||
</br></br></br> | ||
|
||
<main class="main-content"> | ||
<section class="section-body"> | ||
<header class="section-header u-textAlignCenter"> | ||
<h2 class="css91e91f2cb17f7a">标签</h2> | ||
</header> | ||
|
||
|
||
|
||
|
||
<div class="tags"></br></br> | ||
|
||
<?php $this->widget('Widget_Metas_Tag_Cloud', 'sort=mid&ignoreZeroCount=1&desc=0&limit=30')->to($tags); ?> | ||
|
||
<?php if($tags->have()): ?> | ||
|
||
<ul class="tags-list"> | ||
|
||
<?php while ($tags->next()): ?> | ||
|
||
<li> | ||
|
||
<a href="<?php $tags->permalink(); ?>" rel="tag" class="size-<?php $tags->split(5, 10, 20, 30); ?>" title="<?php $tags->count(); ?> 个话题"> | ||
|
||
<?php $tags->name(); ?> | ||
|
||
</a> | ||
|
||
</li> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else: ?> | ||
|
||
<li> | ||
|
||
<?php _e('没有任何标签'); ?> | ||
|
||
</li> | ||
|
||
</div> | ||
|
||
<?php endif; ?> | ||
|
||
</ul> | ||
|
||
|
||
|
||
|
||
</section> | ||
|
||
</main> | ||
|
||
|
||
<?php $this->need('footer.php'); ?> | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/** | ||
* 博客 | ||
* | ||
* @package custom | ||
* | ||
* 需要在系统设置-阅读-将文章列表页路径更改为 /blog.html | ||
*/ | ||
?> | ||
|
||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> | ||
|
||
<?php $this->need('head.php'); ?> | ||
|
||
<?php $this->need('header.php'); ?> | ||
|
||
</br></br></br> | ||
|
||
<article class="mod-archive"> | ||
|
||
<div class="mod-archive__item"><div class="mod-archive__year"></div> | ||
|
||
</br> | ||
|
||
<ul class="mod-archive__list"> | ||
|
||
<?php while($this->next()): ?> | ||
|
||
<li> | ||
<time class="mod-archive__time" datetime="<?php $this->date('m/d Y'); ?>"><?php $this->date('Y-m-d'); ?></time> | ||
<span> </span> | ||
<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a> | ||
</li> | ||
|
||
<?php endwhile; ?> | ||
|
||
</ul> | ||
|
||
<div class="posts-nav"> | ||
|
||
<div style="float:right;"> | ||
|
||
<?php $this->pageLink('<span class="page-numbers current">下一页</span>','next'); ?> | ||
|
||
</div> | ||
|
||
<?php $this->pageLink('<span class="page-numbers current">返回</span>'); ?> | ||
|
||
</div> | ||
</div> | ||
</article> | ||
<?php $this->need('footer.php'); ?> |
Oops, something went wrong.