Skip to content

Commit

Permalink
inital
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Sep 27, 2018
1 parent 979e63c commit 4dbbce2
Show file tree
Hide file tree
Showing 26 changed files with 1,633 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
.DS_Store
.idea/
*.log
*.iml
node_modules/
18 changes: 18 additions & 0 deletions 404.php
@@ -0,0 +1,18 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<div id="main" class="main" role="main">
<div class="main-inner clearfix">
<?php $this->need('sidebar.php'); ?>
<div class="content-wrap">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="post-title" itemprop="name headline">
<?php _e('404 施工中(ง •_•)ง'); ?>
</h1>
</article>
<?php $this->need('comments.php'); ?>
</div>
</div>
</div>

<?php $this->need('footer.php'); ?>
28 changes: 26 additions & 2 deletions README.md
@@ -1,2 +1,26 @@
# Typecho-Sagiri
As lovely as sagiri
<h1 align="center">Sagiri</h1>

> As lovely as sagiri
[![npm](https://img.shields.io/npm/l/hexo-theme-sagiri.svg?style=flat-square)](https://github.com/DIYgod/hexo-theme-sagiri/blob/master/LICENSE)
[![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?style=flat-square)](https://github.com/shiyi/typecho-theme-sagiri#donate)

## Introduction

Lovely theme for Hexo.

As lovely as sagiri, based on [hexo-theme-sagiri](https://github.com/DIYgod/hexo-theme-sagiri)

## Who use hexo-theme-sagiri?

## Donate

- [Donate via WeChat Pay]()
- [Donate via Alipay]()

## Author

**typecho-theme-sagiri** © [shiyi](https://github.com/shiyiya), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by DIYgod with help from contributors ([list](https://github.com/shiyiya/typecho-theme-sagiri/contributors)).

> Blog [@OZOO](https://www.runtua.cn) · GitHub [@shiyi](https://github.com/shiyiya) · Twitter [@shiyi](https://twitter.com/)
55 changes: 55 additions & 0 deletions archive.php
@@ -0,0 +1,55 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<div id="main" class="main" role="main">
<div class="main-inner clearfix">
<div class="content-wrap">
<h3 class="archive-title"><?php $this->archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ''); ?></h3>
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h2 class="post-title" itemprop="name headline"><a class="post-title-link" itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<span><?php _e('时间: '); ?><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></span>
<span><?php _e('• 分类: '); ?><?php $this->category(','); ?></span>
<span itemprop="interactionCount"><a itemprop="discussionUrl" href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('• 评论', '• 1 条评论', '• %d 条评论'); ?></a></span>
</div>
</header>
<?php $thumb = showThumb($this,null,true); ?>
<?php if(!empty($thumb)):?>
<img src="<?php echo $thumb;?>" >
<?php endif; ?>
<div class="post-content" itemprop="articleBody">
<?php $this->excerpt(100); ?>
<div text-center class="post-button">
<a href="<?php $this->permalink() ?>">
- 阅读全文 -
</a>
</div>
</div>
</article>
<?php endwhile; ?>
<?php else: ?>
<article class="post">
<h2 class="post-title"><?php _e('没有找到内容'); ?></h2>
</article>
<?php endif; ?>

<?php $this->pageNav('<i class="iconfont icon-prev-m"></i>','<i class="iconfont icon-next-m"></i>','2','...'); ?>
</div>
</div>
</div>

<style>
.content-wrap{
float: none
}
</style>

<?php $this->need('footer.php'); ?>
5 changes: 5 additions & 0 deletions comments.php
@@ -0,0 +1,5 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

<div id="comments">
<h3><?php _e('评论施工中(ง •_•)ง'); ?></h3>
</div>
99 changes: 99 additions & 0 deletions css/iconfont.css
@@ -0,0 +1,99 @@
@font-face {
font-family: 'iconfont';
src: url('iconfont.eot?t=1537930132641'); /* IE9*/
src: url('iconfont.eot?t=1537930132641#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAvoAAsAAAAAEMwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8fkp2Y21hcAAAAYAAAACtAAACRAYK2OJnbHlmAAACMAAAB2UAAAl0D4dT7GhlYWQAAAmYAAAALwAAADYSwW0oaGhlYQAACcgAAAAeAAAAJAfeA51obXR4AAAJ6AAAABMAAAAwMBAAAGxvY2EAAAn8AAAAGgAAABoQFA2qbWF4cAAAChgAAAAfAAAAIAEaALJuYW1lAAAKOAAAAUUAAAJtPlT+fXBvc3QAAAuAAAAAZQAAAIHQPDoJeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWScwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByecbxoZm7438AQw9zA0AAUZgTJAQDoAQxxeJzlkcENgkAQRf8KrigmcCKWwEGKIRRCB15owQsteLKqD0WQ4B/Gk6EDZ/M22Z/NzOR/AEcAibiLFAhvBFi9pIZNT3DZ9BQPvSuUUiIzlqzZsGXHnss0zsO6AtKLPX2ngnpVuP0c2ybVVicccNbkgBwZor7H3S7/Vdftfn5fufntWIYsHMuRpWP5snbkKdg4chdsHfkMdo5lzd6x/Lk4NmsaHeWBeXAQP4YmPZgAAAB4nHVWXYzcVhX28bWvfWfGY98Z/87szOx4du3M/sxmx2NPdpPdTbJRSElSNUnzQ4pCA5EaUojaPiWhDYuiQB+gVUtBfaFRW5CAbFWJiPCSlk2qoPAQHooEjQAlQt3QJ4IqQcXDOhzvNhISdGRdn3vvOefe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wdDEXhaaPmNWwahw2NSBF9biV25i6mmuHdcMAxv+/6y1b8FvyS9JTxgTUB9krIQYT7KmBd3VIsLPPI7g0XAk+yzYDWJ38e8LWXxlfL20vLj4oSx/uHjokYKadwrzO1+6Rsi1l16+Kk1OMGCEvM68MjDxQv/cjovLmefisjREHZfJDenqy2ve82fW5zwmSm8x7uX+A5fSi8EAAAB4nGNgZGBgAOJmDyn7eH6brwzcLAwgcP2iyBQE/b+ZhYG5AcjlYGACiQIAB1IJiAB4nGNgZGBgbvjfwBDDIsAABCwMDIwMqIAHAEiiAoUAAHicY2FgYGCBYQEkNg4MAAdAAEEAAAAAAACEAWoB6AIOAjQCaAK6A1oEAARwBLoAAHicY2BkYGDgYVjGwMIAAkxAzAWEDAz/wXwGABogAc0AeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbcFbDoMgEAXQuYjQ+lgKi4JmgsQi0Rlil9+P/vYcMvQz0X8LDAZYjHDweOCJCTMWrGTf5djNedqtVXYpvvZQ3cEfDXW4RMaYWleXi249eb2LKl++skjM7KV16S0QfQFshBg+AAAA')
format('woff'),
url('iconfont.ttf?t=1537930132641') format('truetype'),
/* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('iconfont.svg?t=1537930132641#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
font-family: 'iconfont' !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-Link:before {
content: '\e66f';
}

.icon-友链:before {
content: '\e66f';
}

.icon-qq:before {
content: '\e62d';
}

.icon-Home:before {
content: '\e608';
}

.icon-首页:before {
content: '\e608';
}

.icon-rss:before {
content: '\e883';
}

.icon-About:before {
content: '\e628';
}

.icon-关于:before {
content: '\e628';
}

.icon-github:before {
content: '\e799';
}

.icon-twitter:before {
content: '\e651';
}

.icon-Message:before {
content: '\e653';
}

.icon-留言:before {
content: '\e653';
}

.icon-search:before {
content: '\e6fc';
}

.icon-prev-m:before {
content: '\e60f';
}

.icon-next-m:before {
content: '\e610';
}

.author-social-links .iconfont {
font-size: 32px;
color: #40b3ec;
}
.author-social-links .iconfont.icon-rss {
font-size: 36px;
}
.menu-item .iconfont {
margin-right: 5px;
}
.post-footer .iconfont {
vertical-align: middle;
}
.post-footer .iconfont.icon-next-m {
margin-left: 5px;
}
.post-footer .iconfont.icon-prev-m {
margin-right: 5px;
}

0 comments on commit 4dbbce2

Please sign in to comment.