├── screenshot.png
├── assets
├── img
│ ├── icp.png
│ ├── avatar.png
│ ├── loading.gif
│ ├── favicon.svg
│ ├── thumbnail.svg
│ └── logo.svg
├── css
│ ├── tabs.css
│ ├── comment.css
│ └── dark.css
└── js
│ ├── animation.js
│ ├── back-to-top.js
│ ├── comment.js
│ └── main.js
├── page
├── tags.php
├── categories.php
└── archives.php
├── single.php
├── library
├── Plugin
│ ├── Progressbar.php
│ ├── Moment.php
│ ├── Clipboard.php
│ ├── Animejs.php
│ ├── BackToTop.php
│ ├── Gallery.php
│ ├── OutdatedBrowser.php
│ ├── Highlight.php
│ ├── Copyleft.php
│ ├── Tabs.php
│ ├── Mathjax.php
│ └── SweetAlert.php
├── Ajax.php
├── Module
│ ├── Archive.php
│ ├── Paginator.php
│ ├── Category.php
│ ├── Tag.php
│ ├── Link.php
│ ├── RecentPost.php
│ ├── DarkMode.php
│ ├── Donate.php
│ ├── Search.php
│ ├── Navbar.php
│ ├── Toc.php
│ ├── Profile.php
│ └── Comments.php
├── FormHelper.php
├── I18n.php
├── Backup.php
├── Module.php
├── Plugin.php
├── Page.php
├── Util.php
├── Aside.php
├── Assets.php
├── Config.php
└── Content.php
├── index.php
├── .gitignore
├── 404.php
├── LICENSE
├── component
├── header.php
└── footer.php
├── README.md
├── functions.php
└── archive.php
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HsukqiLee/Typecho-Theme-Kylin/HEAD/screenshot.png
--------------------------------------------------------------------------------
/assets/img/icp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HsukqiLee/Typecho-Theme-Kylin/HEAD/assets/img/icp.png
--------------------------------------------------------------------------------
/assets/img/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HsukqiLee/Typecho-Theme-Kylin/HEAD/assets/img/avatar.png
--------------------------------------------------------------------------------
/assets/img/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HsukqiLee/Typecho-Theme-Kylin/HEAD/assets/img/loading.gif
--------------------------------------------------------------------------------
/page/tags.php:
--------------------------------------------------------------------------------
1 | need('component/header.php');
6 |
7 | Icarus_Module::show('Tag', TRUE);
8 |
9 | $this->need('component/footer.php');
10 |
--------------------------------------------------------------------------------
/single.php:
--------------------------------------------------------------------------------
1 | need('component/header.php');
6 |
7 | Icarus_Module::show('Single', $this);
8 |
9 | $this->need('component/footer.php');
10 |
--------------------------------------------------------------------------------
/page/categories.php:
--------------------------------------------------------------------------------
1 | need('component/header.php');
6 |
7 | Icarus_Module::show('Category', TRUE);
8 |
9 | $this->need('component/footer.php');
10 |
--------------------------------------------------------------------------------
/library/Plugin/Progressbar.php:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/library/Plugin/Animejs.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
14 |
15 |
16 |
17 | need('component/header.php');
15 |
16 | Icarus_Module::load('Single');
17 | $post = new Icarus_Module_Single($this);
18 | while ($this->next())
19 | {
20 | $post->doOutput();
21 | }
22 |
23 | Icarus_Module::show('Paginator', $this);
24 |
25 | $this->need('component/footer.php');
26 |
--------------------------------------------------------------------------------
/assets/img/thumbnail.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Copilot instructions (internal development configuration)
3 | .github/copilot-instructions.md
4 |
5 | # IDE and Editor files
6 | .vscode/
7 | .idea/
8 | *.swp
9 | *.swo
10 | *~
11 |
12 | # OS generated files
13 | .DS_Store
14 | .DS_Store?
15 | ._*
16 | .Spotlight-V100
17 | .Trashes
18 | ehthumbs.db
19 | Thumbs.db
20 |
21 | # Temporary files
22 | *.tmp
23 | *.temp
24 | *.log
25 |
26 | # Backup files
27 | *.bak
28 | *.backup
29 |
30 | # Node modules (if any)
31 | node_modules/
32 | npm-debug.log*
33 | yarn-debug.log*
34 | yarn-error.log*
35 |
36 | # PHP specific
37 | composer.phar
38 | vendor/
39 | *.log
40 |
41 | # Cache files
42 | cache/
43 | *.cache
44 |
45 | # Environment files
46 | .env
47 | .env.local
48 | .env.development.local
49 | .env.test.local
50 | .env.production.local
51 |
52 | # Build outputs
53 | dist/
54 | build/
55 |
56 | # Sass cache
57 | .sass-cache/
58 |
--------------------------------------------------------------------------------
/library/Plugin/OutdatedBrowser.php:
--------------------------------------------------------------------------------
1 |
20 |
21 |
30 | isPost() && isset($request->icarus_action))
14 | {
15 | ob_clean();
16 | $security->protect();
17 |
18 | $notice->set(_IcT($msgId), $result ? 'success' : 'error');
19 | Icarus_Util::jsonResponse(array(
20 | 'action' => 'refresh'
21 | ));
22 | exit;
23 |
24 | $notice->set(_IcT($msgId . '.' . $result), $result == 0 ? 'success' : 'error');
25 | Icarus_Util::jsonResponse(array(
26 | 'action' => 'refresh'
27 | ));
28 | exit;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/library/Plugin/Highlight.php:
--------------------------------------------------------------------------------
1 | packInput('Highlight/theme', 'atom-one-light', 'w-40');
12 | $form->packInput('Highlight/theme_dark', 'atom-one-dark', 'w-40');
13 | }
14 |
15 | public static function header()
16 | {
17 | Icarus_Assets::cdn('css', 'highlight.js', self::VERSION, 'styles/' . Icarus_Config::get('highlight_theme', 'atom-one-light') . '.min.css');
18 | echo '' . PHP_EOL;
19 | }
20 |
21 | public static function footer()
22 | {
23 | Icarus_Assets::cdn('js+defer', 'highlight.js', self::VERSION, 'highlight.min.js');
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/404.php:
--------------------------------------------------------------------------------
1 | clear();
6 | Icarus_Aside::$asideRight->clear();
7 |
8 | $this->need('component/header.php');
9 |
10 | ?>
11 |
12 |
13 |
14 |
15 |
; ?>)
16 |
17 |
18 |
28 |
29 |
30 | need('component/footer.php');
32 |
--------------------------------------------------------------------------------
/library/Plugin/Copyleft.php:
--------------------------------------------------------------------------------
1 | packInput('Copyleft/text', 'CC BY', 'w-40');
10 | }
11 |
12 | public static function footer()
13 | {
14 | ?>
15 |
16 |
30 |
19 |
42 | div{display:none;width:100%;height:auto;text-align:center;background:#fff;border:1px solid #ddd;margin-top:-1px;padding:20px;border-top-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;font-size:14px}.my-tabs>div>table{margin-bottom:0!important}.my-tabs>div>pre{margin:0!important}.my-tabs div.selected{display:block}.tab-li{margin:0!important}
--------------------------------------------------------------------------------
/library/Module/Archive.php:
--------------------------------------------------------------------------------
1 |
14 |
45 | packInput('Mathjax/extensions', '', 'w-100');
10 | $form->packRadio('Mathjax/messages', array('0', '1'), '1');
11 | //$form->packRadio('Mathjax/menu', array('0', '1'), '1');
12 | }
13 |
14 | public static function footer()
15 | {
16 | Icarus_Config::tryGet('mathjax_extensions', $Extensions);
17 | $Extension = '"'.implode('","', explode(',', $Extensions)).'"';
18 | ?>
19 |
38 | pageNav('«', '»', 1, '...', array(
10 | 'wrapTag' => 'ul',
11 | 'wrapClass' => 'pagination-list',
12 | 'currentClass' => 'is-current',
13 | 'prevClass' => '',
14 | 'nextClass' => ''
15 | ));
16 | $content = ob_get_contents();
17 | ob_end_clean();
18 | $content = str_replace(
19 | array(
20 | '