Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tespera authored Jun 16, 2021
1 parent 526aa52 commit 889538c
Show file tree
Hide file tree
Showing 26 changed files with 4,012 additions and 0 deletions.
53 changes: 53 additions & 0 deletions themes/Typecho Theme for Amore/404.php
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'); ?>
38 changes: 38 additions & 0 deletions themes/Typecho Theme for Amore/about.php
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'); ?>
74 changes: 74 additions & 0 deletions themes/Typecho Theme for Amore/archives.php
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'); ?>


Binary file added themes/Typecho Theme for Amore/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions themes/Typecho Theme for Amore/blog.php
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>&nbsp;&nbsp;&nbsp;</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'); ?>
Loading

0 comments on commit 889538c

Please sign in to comment.