├── screenshot.png
├── 404.php
├── page.php
├── page-sitemap.php
├── page-links.php
├── README.md
├── page-archives.php
├── normalize.min.css
├── archive.php
├── index.php
├── post.php
├── footer.php
├── sidebar.php
├── header.php
├── comments.php
├── main.min.js
├── page-whisper.php
├── style.min.css
└── functions.php
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ChrisKimZHT/initial/master/screenshot.png
--------------------------------------------------------------------------------
/404.php:
--------------------------------------------------------------------------------
1 | need('header.php'); ?>
3 |
11 |
12 |
13 | widget('Widget_Contents_Post_Recent', 'pageSize=10000')->parse('
{year}-{month}-{day} : {title}'); ?>
14 |
15 |
16 |
17 | options->OneCOL): $this->need('sidebar.php'); endif; ?>
18 | need('footer.php'); ?>
--------------------------------------------------------------------------------
/page-links.php:
--------------------------------------------------------------------------------
1 | need('header.php');
9 | Breadcrumbs($this); ?>
10 |
11 |
12 | widget('Widget_Contents_Post_Recent', 'pageSize='.Typecho_Widget::widget('Widget_Stat')->publishedPostsNum)->to($archives);
14 | $year=0;
15 | $output = '';
16 | while($archives->next()){
17 | $year_tmp = date('Y',$archives->created);
18 | if ($year > $year_tmp) {
19 | $output .= '';
20 | }
21 | if ($year != $year_tmp) {
22 | $year = $year_tmp;
23 | $output .= '
'.date('Y 年',$archives->created).'
';
24 | }
25 | if ($this->options->PjaxOption && $archives->hidden) {
26 | $output .= '- '.date('m/d:',$archives->created).''. $archives->title .'
';
27 | } else {
28 | $output .= '- '.date('m/d:',$archives->created).''. $archives->title .'
';
29 | }
30 | }
31 | $output .= '
';
32 | echo $output;
33 | ?>
34 |
35 |
36 | options->OneCOL): $this->need('sidebar.php'); endif; ?>
37 | need('footer.php'); ?>
--------------------------------------------------------------------------------
/normalize.min.css:
--------------------------------------------------------------------------------
1 | /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
2 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
--------------------------------------------------------------------------------
/archive.php:
--------------------------------------------------------------------------------
1 | need('header.php'); ?>
3 | 首页 » archiveTitle(array(
4 | 'category' => _t('分类 » %s'),
5 | 'search' => _t('搜索 » %s'),
6 | 'tag' => _t('标签 » %s'),
7 | 'date' => _t('日期 » %s'),
8 | 'author' => _t('作者 » %s')
9 | ), '', ''); ?>
10 | have()): ?>
11 | next()): ?>
12 |
13 |
14 |
15 | - date(); ?>
16 | - category(',', false); ?>
17 | - commentsNum('暂无评论', '%d 条评论'); ?>
18 |
19 |
20 | options->PjaxOption && $this->hidden): ?>
21 |
28 |
29 |
30 |
31 |
32 |
content('- 阅读剩余部分 -'); ?>
33 |
34 |
35 |
36 |
37 |
38 |
21 |
22 |
23 | - date(); ?>
24 | - category(',', false); ?>
25 | - commentsNum('暂无评论', '%d 条评论'); ?>
26 |
27 |
28 | options->PjaxOption && $this->hidden): ?>
29 |
36 |
37 |
38 |
39 |
40 |
content('- 阅读剩余部分 -'); ?>
41 |
42 |
43 |
44 |
45 | pageNav('上一页', $this->options->AjaxLoad ? '查看更多' : '下一页', 0, '..', $this->options->AjaxLoad ? array('wrapClass' => $this->options->AjaxLoad == 'auto' ? 'page-navigator ajaxload auto' : 'page-navigator ajaxload') : ''); ?>
46 |
47 | options->OneCOL): $this->need('sidebar.php'); endif; ?>
48 | need('footer.php'); ?>
--------------------------------------------------------------------------------
/post.php:
--------------------------------------------------------------------------------
1 | need('header.php');
3 | if (!empty($this->options->Breadcrumbs) && in_array('Postshow', $this->options->Breadcrumbs)): ?>
4 |
9 |
10 |
15 |
16 | content(); ?>
17 |
18 | options->WeChat || $this->options->Alipay): ?>
19 | 打赏: options->WeChat): ?>
20 |
微信options->WeChat && $this->options->Alipay): ?>, options->Alipay): ?>
21 |
支付宝
22 |
23 |
24 | 标签: tags(', ', true, 'none'); ?>
25 | options->LicenseInfo !== '0'): ?>
26 | options->LicenseInfo ? $this->options->LicenseInfo : '本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。' ?>
27 |
28 |
29 | need('comments.php'); ?>
30 |