├── .gitignore
├── README.md
├── _config.yml
├── package.json
├── scaffolds
├── draft.md
├── page.md
└── post.md
├── source
├── _posts
│ └── Hexo-Theme-Sakura.md
├── about
│ └── index.md
├── bangumi
│ └── index.md
├── client
│ └── index.md
├── comment
│ └── index.md
├── donate
│ └── index.md
├── lab
│ └── index.md
├── links
│ └── index.md
├── music
│ └── index.md
├── rss
│ └── index.md
├── tags
│ └── index.md
├── theme-sakura
│ └── index.md
└── video
│ └── index.md
└── themes
└── Sakura
├── .gitignore
├── .travis.yml
├── CNAME
├── LICENSE
├── README.md
├── README.zhCN.md
├── _config.yml
├── languages
├── en.yml
└── zh-cn.yml
├── layout
├── _partial
│ ├── _page.ejs
│ ├── _post.ejs
│ ├── aplayer.ejs
│ ├── archive.ejs
│ ├── category-archive.ejs
│ ├── comment.ejs
│ ├── footer.ejs
│ ├── head.ejs
│ ├── header.ejs
│ ├── headertop.ejs
│ ├── mheader.ejs
│ └── startdash.ejs
├── _widget
│ ├── category-items.ejs
│ ├── common-article.ejs
│ ├── common-page.ejs
│ ├── index-items.ejs
│ └── search
│ │ └── insight.ejs
├── archive.ejs
├── bangumi.ejs
├── category.ejs
├── donate.ejs
├── index.ejs
├── layout.ejs
├── links.ejs
├── page.ejs
├── post.ejs
└── tag.ejs
├── package.json
└── source
├── 404.html
├── css
├── APlayer.min.css
├── bangumi.css
├── donate.css
├── font.css
├── insight.styl
├── jquery.fancybox.min.css
├── lib.min.css
├── sharejs.css
├── style.css
└── zoom.css
├── fonts
├── SAKURASO.old
│ ├── icon.css
│ ├── sakuraso-symbol.svg
│ ├── sakuraso.eot
│ ├── sakuraso.svg
│ ├── sakuraso.ttf
│ └── sakuraso.woff
├── fontawesome-webfont.woff2
├── iconfont.eot
├── iconfont.svg
├── iconfont.ttf
└── iconfont.woff
├── images
├── cover
│ ├── (0).jpg.webp
│ ├── (1).jpg.webp
│ ├── (2).jpg.webp
│ ├── (3).jpg.webp
│ ├── (4).jpg.webp
│ ├── (5).jpg.webp
│ ├── (6).jpg.webp
│ ├── (7).jpg.webp
│ └── (8).jpg.webp
├── donate
│ ├── AliPayQR.jpg
│ ├── BTCQR.png
│ ├── WeChanQR.jpg
│ ├── WeChanSQ.jpg
│ ├── alipay.svg
│ ├── bitcoin.svg
│ ├── github.svg
│ ├── like.svg
│ ├── paypal.svg
│ └── wechat.svg
└── favicon.ico
├── js
├── APlayer.min.js
├── InsightSearch.js
├── botui.js
├── jquery.fancybox.min.js
├── lib.min.js
├── sakura-app.js
└── zoom.min.js
└── warn.html
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | Thumbs.db
3 | db.json
4 | *.log
5 | node_modules/
6 | public/
7 | .deploy*/
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [中文文档&DOCS](https://docs.hojun.cn/sakura/docs/)
2 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | # Hexo Configuration
2 | ## Docs: https://hexo.io/docs/configuration.html
3 | ## Source: https://github.com/hexojs/hexo/
4 |
5 | # Site
6 | title: hojun
7 | subtitle:
8 | description: 好少年光芒万丈
9 | keywords:
10 | author: hojun
11 | language: zh-cn
12 | timezone:
13 |
14 | # URL
15 | ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
16 | url: /
17 | root: /
18 | permalink: :year/:month/:day/:title/
19 | permalink_defaults:
20 |
21 | # Directory
22 | source_dir: source
23 | public_dir: public
24 | tag_dir: tags
25 | archive_dir: archives
26 | category_dir: categories
27 | code_dir: downloads/code
28 | i18n_dir: :lang
29 | skip_render:
30 |
31 | # Writing
32 | new_post_name: :title.md # File name of new posts
33 | default_layout: post
34 | titlecase: false # Transform title into titlecase
35 | external_link: true # Open external links in new tab
36 | filename_case: 0
37 | render_drafts: false
38 | post_asset_folder: false
39 | relative_link: false
40 | future: true
41 | highlight:
42 | enable: false
43 | line_number: false
44 | auto_detect: false
45 | tab_replace:
46 |
47 | # Home page setting
48 | # path: Root path for your blogs index page. (default = '')
49 | # per_page: Posts displayed per page. (0 = disable pagination)
50 | # order_by: Posts order. (Order by date descending by default)
51 | index_generator:
52 | path: ''
53 | per_page: 10
54 | order_by: -date
55 |
56 | # Category & Tag
57 | default_category: uncategorized
58 | category_map:
59 | tag_map:
60 |
61 | # Date / Time format
62 | ## Hexo uses Moment.js to parse and display date
63 | ## You can customize the date format as defined in
64 | ## http://momentjs.com/docs/#/displaying/format/
65 | date_format: YYYY-MM-DD
66 | time_format: HH:mm:ss
67 |
68 | # Pagination
69 | ## Set per_page to 0 to disable pagination
70 | per_page: 10
71 | pagination_dir: page
72 |
73 | # Extensions
74 | ## Plugins: https://hexo.io/plugins/
75 | ## Themes: https://hexo.io/themes/
76 | theme: Sakura
77 |
78 | # Deployment
79 | ## Docs: https://hexo.io/docs/deployment.html
80 | deploy:
81 | type: git
82 | repo:
83 | # github: git@github.com:honjun/honjun.github.io.git
84 | # github: https://github.com/honjun/honjun.github.io.git
85 | coding: https://git.coding.net/hojun/hojun.git
86 | branch: master
87 |
88 | # backup
89 | backup:
90 | type: git
91 | message: backup my blog of https://yourname.github.io/
92 | repository:
93 | # github: https://github.com/honjun/honjun.github.io.git,backup
94 | coding: https://git.coding.net/hojun/hojun.git,backup
95 |
96 | #RSS
97 | feed:
98 | type: atom
99 | path: atom.xml
100 | limit: 20
101 | hub:
102 | content:
103 | content_limit: 140
104 | content_limit_delim: ' '
105 | order_by: -date
106 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hexo-site",
3 | "version": "0.0.0",
4 | "private": true,
5 | "hexo": {
6 | "version": "3.8.0"
7 | },
8 | "dependencies": {
9 | "hexo": "^3.7.0",
10 | "hexo-deployer-git": "^0.2.0",
11 | "hexo-generator-archive": "^0.1.5",
12 | "hexo-generator-category": "^0.1.3",
13 | "hexo-generator-feed": "^1.2.2",
14 | "hexo-generator-index": "^0.2.1",
15 | "hexo-generator-json-content": "^2.2.0",
16 | "hexo-generator-tag": "^0.2.0",
17 | "hexo-git-backup": "^0.1.2",
18 | "hexo-renderer-ejs": "^0.3.1",
19 | "hexo-renderer-marked": "^0.3.2",
20 | "hexo-renderer-stylus": "^0.3.3",
21 | "hexo-server": "^0.3.1",
22 | "hexo-tag-bili": "^1.0.0",
23 | "hexo-tag-fancybox_img": "^1.0.1"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/scaffolds/draft.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | tags:
4 | ---
5 |
--------------------------------------------------------------------------------
/scaffolds/page.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | date: {{ date }}
4 | keywords:
5 | description:
6 | comments: false
7 | photos:
8 | ---
9 |
--------------------------------------------------------------------------------
/scaffolds/post.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | date: {{ date }}
4 | author: hojun
5 | avatar: https://wx1.sinaimg.cn/large/006bYVyvgy1ftand2qurdj303c03cdfv.jpg
6 | authorLink: hojun.cn
7 | authorAbout: 一个好奇的人
8 | authorDesc: 一个好奇的人
9 | categories: 技术
10 | comments: true
11 | tags:
12 | keywords:
13 | description:
14 | photos:
15 | ---
--------------------------------------------------------------------------------
/source/_posts/Hexo-Theme-Sakura.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Hexo-Theme-Sakura
3 | author: hojun
4 | avatar: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/avatar.jpg
5 | authorLink: hojun.cn
6 | authorAbout: 一个好奇的人
7 | authorDesc: 一个好奇的人
8 | categories: 技术
9 | date: 2018-12-12 22:16:01
10 | comments: true
11 | tags:
12 | - web
13 | - 悦读
14 | keywords: Sakura
15 | description: hexo-sakura主题使用教程
16 | photos: https://static.2heng.xin/wp-content/uploads//2019/02/wallhaven-672007-1-1024x576.png
17 | ---
18 | hexo-theme-sakura主题 [English document](https://github.com/honjun/hexo-theme-sakura/blob/master/README.md)
19 |
20 | 基于WordPress主题[Sakura](https://github.com/mashirozx/Sakura/)修改成Hexo的主题。
21 |
22 | [demo预览](https://sakura.hojun.cn)
23 |
24 | 正在开发中......
25 |
26 | 
27 |
28 | ## 交流群
29 | 若你是使用者,加群QQ: 801511924
30 |
31 | 若你是创作者,加群QQ: 194472590
32 |
33 |
34 | ## 主题特性
35 |
36 | - 首页大屏视频
37 | - 首页随机封面
38 | - 图片懒加载
39 | - valine评论
40 | - fancy-box相册
41 | - pjax支持,音乐不间断
42 | - aplayer音乐播放器
43 | - 多级导航菜单(按现在大部分hexo主题来说,这也算是个特性了)
44 |
45 |
46 | ## 赞赏作者
47 | 如果喜欢hexo-theme-sakura主题,可以考虑资助一下哦~非常感激!
48 |
49 | [paypal](https://www.paypal.me/hojuncn) | [Alipay 支付宝](https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/donate/AliPayQR.jpg) | [WeChat Pay 微信支付](https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/donate/WeChanSQ.jpg)
50 |
51 | ## 未完善的使用教程
52 |
53 | 那啥?老实说我目前也不是很有条理233333333~
54 |
55 | ## 1、主题下载安装
56 |
57 | [hexo-theme-sakura](https://github.com/honjun/hexo-theme-sakura)建议下载压缩包格式,因为除了主题内容还有些source的配置对新手来说比较太麻烦,直接下载解压就省去这些麻烦咯。
58 |
59 | 下载好后解压到博客根目录(不是主题目录哦,重复的选择替换)。接着在命令行(cmd、bash)运行`npm i`安装依赖。
60 |
61 | ## 2、主题配置
62 |
63 | ### 博客根目录下的_config配置
64 |
65 | 站点
66 | ```yml
67 | # Site
68 | title: 你的站点名
69 | subtitle:
70 | description: 站点简介
71 | keywords:
72 | author: 作者名
73 | language: zh-cn
74 | timezone:
75 | ```
76 |
77 | 部署
78 | ```yml
79 | deploy:
80 | type: git
81 | repo:
82 | github: 你的github仓库地址
83 | # coding: 你的coding仓库地址
84 | branch: master
85 | ```
86 |
87 | 备份 (使用hexo b发布备份到远程仓库)
88 | ```yml
89 | backup:
90 | type: git
91 | message: backup my blog of https://honjun.github.io/
92 | repository:
93 | # 你的github仓库地址,备份分支名 (建议新建backup分支)
94 | github: https://github.com/honjun/honjun.github.io.git,backup
95 | # coding: https://git.coding.net/hojun/hojun.git,backup
96 |
97 | ```
98 |
99 | ### 主题目录下的_config配置
100 |
101 | 其中标明【改】的是需要修改部门,标明【选】是可改可不改,标明【非】是不用改的部分
102 | ```yml
103 | # site name
104 | # 站点名 【改】
105 | prefixName: さくら荘その
106 | siteName: hojun
107 |
108 | # favicon and site master avatar
109 | # 站点的favicon和头像 输入图片路径(下面的配置是都是cdn的相对路径,没有cdn请填写完整路径,建议使用jsdeliver搭建一个cdn啦,先去下载我的cdn替换下图片就行了,简单方便~)【改】
110 | favicon: /images/favicon.ico
111 | avatar: /img/custom/avatar.jpg
112 |
113 | # 站点url 【改】
114 | url: https://sakura.hojun.cn
115 |
116 | # 站点介绍(或者说是个人签名)【改】
117 | description: Live your life with passion! With some drive!
118 |
119 | # 站点cdn,没有就为空 【改】 若是cdn为空,一些图片地址就要填完整地址了,比如之前avatar就要填https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/avatar.jpg
120 | cdn: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6
121 |
122 | # 开启pjax 【选】
123 | pjax: 1
124 |
125 | # 站点首页的公告信息 【改】
126 | notice: hexo-Sakura主题已经开源,目前正在开发中...
127 |
128 | # 懒加载的加载中图片 【选】
129 | lazyloadImg: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/loader/orange.progress-bar-stripe-loader.svg
130 |
131 | # 站点菜单配置 【选】
132 | menus:
133 | 首页: { path: /, fa: fa-fort-awesome faa-shake }
134 | 归档: { path: /archives, fa: fa-archive faa-shake, submenus: {
135 | 技术: {path: /categories/技术/, fa: fa-code },
136 | 生活: {path: /categories/生活/, fa: fa-file-text-o },
137 | 资源: {path: /categories/资源/, fa: fa-cloud-download },
138 | 随想: {path: /categories/随想/, fa: fa-commenting-o },
139 | 转载: {path: /categories/转载/, fa: fa-book }
140 | } }
141 | 清单: { path: javascript:;, fa: fa-list-ul faa-vertical, submenus: {
142 | 书单: {path: /tags/悦读/, fa: fa-th-list faa-bounce },
143 | 番组: {path: /bangumi/, fa: fa-film faa-vertical },
144 | 歌单: {path: /music/, fa: fa-headphones },
145 | 图集: {path: /tags/图集/, fa: fa-photo }
146 | } }
147 | 留言板: { path: /comment/, fa: fa-pencil-square-o faa-tada }
148 | 友人帐: { path: /links/, fa: fa-link faa-shake }
149 | 赞赏: { path: /donate/, fa: fa-heart faa-pulse }
150 | 关于: { path: /, fa: fa-leaf faa-wrench , submenus: {
151 | 我?: {path: /about/, fa: fa-meetup},
152 | 主题: {path: /theme-sakura/, fa: iconfont icon-sakura },
153 | Lab: {path: /lab/, fa: fa-cogs },
154 | } }
155 | 客户端: { path: /client/, fa: fa-android faa-vertical }
156 | RSS: { path: /atom.xml, fa: fa-rss faa-pulse }
157 |
158 | # Home page sort type: -1: newer first,1: older first. 【非】
159 | homePageSortType: -1
160 |
161 | # Home page article shown number) 【非】
162 | homeArticleShown: 10
163 |
164 | # 背景图片 【选】
165 | bgn: 8
166 |
167 | # startdash面板 url, title, desc img 【改】
168 | startdash:
169 | - {url: /theme-sakura/, title: Sakura, desc: 本站 hexo 主题, img: /img/startdash/sakura.md.png}
170 | - {url: http://space.bilibili.com/271849279, title: Bilibili, desc: 博主的b站视频, img: /img/startdash/bilibili.jpg}
171 | - {url: /, title: hojun的万事屋, desc: 技术服务, img: /img/startdash/wangshiwu.jpg}
172 |
173 |
174 | # your site build time or founded date
175 | # 你的站点建立日期 【改】
176 | siteBuildingTime: 07/17/2018
177 |
178 |
179 | # 社交按钮(social) url, img PC端配置 【改】
180 | social:
181 | github: {url: http://github.com/honjun, img: /img/social/github.png}
182 | sina: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/sina.png}
183 | wangyiyun: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/wangyiyun.png}
184 | zhihu: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/zhihu.png}
185 | email: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/email.svg}
186 | wechat: {url: /#, qrcode: /img/custom/wechat.jpg, img: /img/social/wechat.png}
187 |
188 | # 社交按钮(msocial) url, img 移动端配置 【改】
189 | msocial:
190 | github: {url: http://github.com/honjun, fa: fa-github, color: 333}
191 | weibo: {url: http://weibo.com/mashirozx?is_all=1, fa: fa-weibo, color: dd4b39}
192 | qq: {url: https://wpa.qq.com/msgrd?v=3&uin=954655431&site=qq&menu=yes, fa: fa-qq, color: 25c6fe}
193 |
194 | # 赞赏二维码(其中wechatSQ是赞赏单页面的赞赏码图片)【改】
195 | donate:
196 | alipay: /img/custom/donate/AliPayQR.jpg
197 | wechat: /img/custom/donate/WeChanQR.jpg
198 | wechatSQ: /img/custom/donate/WeChanSQ.jpg
199 |
200 | # 首页视频地址为https://cdn.jsdelivr.net/gh/honjun/hojun@1.2/Unbroken.mp4,配置如下 【改】
201 | movies:
202 | url: https://cdn.jsdelivr.net/gh/honjun/hojun@1.2
203 | # 多个视频用逗号隔开,随机获取。支持的格式目前已知MP4,Flv。其他的可以试下,不保证有用
204 | name: Unbroken.mp4
205 |
206 | # 左下角aplayer播放器配置 主要改id和server这两项,修改详见[aplayer文档] 【改】
207 | aplayer:
208 | id: 2660651585
209 | server: netease
210 | type: playlist
211 | fixed: true
212 | mini: false
213 | autoplay: false
214 | loop: all
215 | order: random
216 | preload: auto
217 | volume: 0.7
218 | mutex: true
219 |
220 | # Valine评论配置【改】
221 | valine: true
222 | v_appId: GyC3NzMvd0hT9Yyd2hYIC0MN-gzGzoHsz
223 | v_appKey: mgOpfzbkHYqU92CV4IDlAUHQ
224 | ```
225 |
226 | ## 分类页和标签页配置
227 |
228 | ### 分类页
229 | 
230 | ### 标签页
231 | 
232 |
233 | 配置项在\themes\Sakura\languages\zh-cn.yml里。新增一个分类或标签最好加下哦,当然嫌麻烦可以直接使用一张默认图片(可以改主题或者直接把404图片替换下,征求下意见要不要给这个在配置文件中加个开关,可以issue或群里提出来),现在是没设置的话会使用那种倒立小狗404哦。
234 | ```yml
235 | #category
236 | # 按分类名创建
237 | 技术:
238 | #中文标题
239 | zh: 野生技术协会
240 | # 英文标题
241 | en: Geek – Only for Love
242 | # 封面图片
243 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/coding.jpg
244 | 生活:
245 | zh: 生活
246 | en: live
247 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/writing.jpg
248 |
249 | #tag
250 | # 标签名即是标题
251 | 悦读:
252 | # 封面图片
253 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/reading.jpg
254 | ```
255 |
256 | ## 单页面封面配置
257 |
258 | 
259 | 如留言板页面页面,位于source下的comment下,打开index.md如下:
260 | ```md
261 | ---
262 | title: comment
263 | date: 2018-12-20 23:13:48
264 | keywords: 留言板
265 | description:
266 | comments: true
267 | # 在这里配置单页面头部图片,自定义替换哦~
268 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/comment.jpg
269 | ---
270 | ```
271 |
272 |
273 | ## 单页面配置
274 |
275 | ### 番组计划页 (请直接在下载后的文件中改,下面的添加了注释可能会有些影响)
276 | 
277 |
278 | ```yml
279 | ---
280 | layout: bangumi
281 | title: bangumi
282 | comments: false
283 | date: 2019-02-10 21:32:48
284 | keywords:
285 | description:
286 | bangumis:
287 | # 番组图片
288 | - img: https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg
289 | # 番组名
290 | title: 朝花夕誓——于离别之朝束起约定之花
291 | # 追番状态 (追番ing/已追完)
292 | status: 已追完
293 | # 追番进度
294 | progress: 100
295 | # 番剧日文名称
296 | jp: さよならの朝に約束の花をかざろう
297 | # 放送时间
298 | time: 放送时间: 2018-02-24 SUN.
299 | # 番剧介绍
300 | desc: 住在远离尘嚣的土地,一边将每天的事情编织成名为希比欧的布,一边静静生活的伊欧夫人民。在15岁左右外表就停止成长,拥有数百年寿命的他们,被称为“离别的一族”,并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚,过着被伙伴包围的平稳日子,却总感觉“孤身一人”。他们的这种日常,一瞬间就崩溃消失。追求伊欧夫的长寿之血,梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中,伊欧夫的第一美女蕾莉亚被梅萨蒂带走,而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了,却失去了伙伴和归去之地……。
301 | - img: https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg
302 | title: 朝花夕誓——于离别之朝束起约定之花
303 | status: 已追完
304 | progress: 50
305 | jp: さよならの朝に約束の花をかざろう
306 | time: 放送时间: 2018-02-24 SUN.
307 | desc: 住在远离尘嚣的土地,一边将每天的事情编织成名为希比欧的布,一边静静生活的伊欧夫人民。在15岁左右外表就停止成长,拥有数百年寿命的他们,被称为“离别的一族”,并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚,过着被伙伴包围的平稳日子,却总感觉“孤身一人”。他们的这种日常,一瞬间就崩溃消失。追求伊欧夫的长寿之血,梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中,伊欧夫的第一美女蕾莉亚被梅萨蒂带走,而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了,却失去了伙伴和归去之地……。
308 | ---
309 | ```
310 |
311 | ### 友链页 (请直接在下载后的文件中改,下面的添加了注释可能会有些影响)
312 | 
313 |
314 | ```yml
315 | ---
316 | layout: links
317 | title: links
318 | # 创建日期,可以改下
319 | date: 2018-12-19 23:11:06
320 | # 图片上的标题,自定义修改
321 | keywords: 友人帐
322 | description:
323 | # true/false 开启/关闭评论
324 | comments: true
325 | # 页面头部图片,自定义修改
326 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/links.jpg
327 | # 友链配置
328 | links:
329 | # 类型分组
330 | - group: 个人项目
331 | # 类型简介
332 | desc: 充分说明这家伙是条咸鱼 < ( ̄︶ ̄)>
333 | items:
334 | # 友链链接
335 | - url: https://shino.cc/fgvf
336 | # 友链头像
337 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
338 | # 友链站点名
339 | name: Google
340 | # 友链介绍 下面雷同
341 | desc: Google 镜像
342 | - url: https://shino.cc/fgvf
343 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
344 | name: Google
345 | desc: Google 镜像
346 | # 类型分组...
347 | - group: 小伙伴们
348 | desc: 欢迎交换友链 ꉂ(ˊᗜˋ)
349 | items:
350 | - url: https://shino.cc/fgvf
351 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
352 | name: Google
353 | desc: Google 镜像
354 | - url: https://shino.cc/fgvf
355 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
356 | name: Google
357 | desc: Google 镜像
358 | ---
359 | ```
360 |
361 | ## 写文章配置
362 |
363 | 主题集成了个人插件hexo-tag-bili和hexo-tag-fancybox_img。其中hexo-tag-bili用来在文章或单页面中插入B站外链视频,使用语法如下:
364 | ```md
365 | {% bili video_id [page] %}
366 | ```
367 | 详细使用教程详见[hexo-tag-bili](https://github.com/honjun/hexo-tag-bili/blob/master/README-zh_cn.md)。
368 |
369 | hexo-tag-fancybox_img用来在文章或单页面中图片,使用语法如下:
370 | ```md
371 | {% fb_img src [caption] %}
372 | ```
373 | 详细使用教程详见[hexo-tag-fancybox_img](https://github.com/honjun/hexo-tag-fancybox_img/blob/master/README-zh_cn.md)
374 |
375 | ## 还有啥,一时想不起来......
376 |
377 | To be continued...
--------------------------------------------------------------------------------
/source/about/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: about
3 | date: 2018-12-12 22:14:36
4 | keywords: 关于
5 | description:
6 | comments: false
7 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/about.jpg
8 | ---
9 | {% raw %}
10 |
11 |
12 |
[さくら荘のhojun]
13 |
14 |
15 |
16 |
17 |
18 | 与
19 | Mashiro
21 |
23 |
25 |
26 | 对话中...
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
37 | {% endraw %}
--------------------------------------------------------------------------------
/source/bangumi/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: bangumi
3 | title: bangumi
4 | comments: false
5 | date: 2019-02-10 21:32:48
6 | keywords:
7 | description:
8 | bangumis:
9 | - img: https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg
10 | title: 朝花夕誓——于离别之朝束起约定之花
11 | status: 已追完
12 | progress: 100
13 | jp: さよならの朝に約束の花をかざろう
14 | time: 2018-02-24 SUN.
15 | desc: 住在远离尘嚣的土地,一边将每天的事情编织成名为希比欧的布,一边静静生活的伊欧夫人民。在15岁左右外表就停止成长,拥有数百年寿命的他们,被称为“离别的一族”,并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚,过着被伙伴包围的平稳日子,却总感觉“孤身一人”。他们的这种日常,一瞬间就崩溃消失。追求伊欧夫的长寿之血,梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中,伊欧夫的第一美女蕾莉亚被梅萨蒂带走,而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了,却失去了伙伴和归去之地……。
16 | - img: https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg
17 | title: 朝花夕誓——于离别之朝束起约定之花
18 | status: 已追完
19 | progress: 50
20 | jp: さよならの朝に約束の花をかざろう
21 | time: 2018-02-24 SUN.
22 | desc: 住在远离尘嚣的土地,一边将每天的事情编织成名为希比欧的布,一边静静生活的伊欧夫人民。在15岁左右外表就停止成长,拥有数百年寿命的他们,被称为“离别的一族”,并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚,过着被伙伴包围的平稳日子,却总感觉“孤身一人”。他们的这种日常,一瞬间就崩溃消失。追求伊欧夫的长寿之血,梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中,伊欧夫的第一美女蕾莉亚被梅萨蒂带走,而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了,却失去了伙伴和归去之地……。
23 | ---
24 |
--------------------------------------------------------------------------------
/source/client/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: client
3 | date: 2018-12-20 23:13:35
4 | keywords: Android客户端
5 | description:
6 | comments: false
7 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/client.jpg
8 | ---
9 | 直接下载 or 扫码下载:
10 | {% raw %}
11 |
12 |
![]()
13 |
14 | {% endraw %}
--------------------------------------------------------------------------------
/source/comment/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: comment
3 | date: 2018-12-20 23:13:48
4 | keywords: 留言板
5 | description:
6 | comments: true
7 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/comment.jpg
8 | ---
9 | {% raw %}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 念两句诗
18 |
19 | 叙别梦、扬州一觉。
20 |
21 | 【宋代】吴文英《夜游宫·人去西楼雁杳》
22 |
23 |
24 | {% endraw %}
--------------------------------------------------------------------------------
/source/donate/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: donate
3 | title: donate
4 | date: 2018-12-20 23:13:05
5 | keywords: 谢谢饲主了喵~
6 | description:
7 | comments: false
8 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/donate.jpg
9 | ---
10 |
--------------------------------------------------------------------------------
/source/lab/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: lab
3 | comments: false
4 | date: 2019-01-05 21:47:59
5 | keywords: Lab实验室
6 | description:
7 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/lab.jpg
8 | ---
9 |
10 | ## sakura主题
11 | balabala
--------------------------------------------------------------------------------
/source/links/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: links
3 | title: links
4 | date: 2018-12-19 23:11:06
5 | keywords: 友人帐
6 | description:
7 | comments: true
8 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/links.jpg
9 | links:
10 | - group: 个人项目
11 | desc: 充分说明这家伙是条咸鱼 < ( ̄︶ ̄)>
12 | items:
13 | - url: https://shino.cc/fgvf
14 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
15 | name: Google
16 | desc: Google 镜像
17 | - url: https://shino.cc/fgvf
18 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
19 | name: Google
20 | desc: Google 镜像
21 | - group: 小伙伴们
22 | desc: 欢迎交换友链 ꉂ(ˊᗜˋ)
23 | items:
24 | - url: https://shino.cc/fgvf
25 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
26 | name: Google
27 | desc: Google 镜像
28 | - url: https://shino.cc/fgvf
29 | img: https://cloud.moezx.cc/Picture/svg/landscape/fields.svg
30 | name: Google
31 | desc: Google 镜像
32 | ---
33 |
--------------------------------------------------------------------------------
/source/music/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: music
3 | date: 2018-12-20 23:14:28
4 | keywords: 喜欢的音乐
5 | description:
6 | comments: false
7 | photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/music.jpg
8 | ---
9 | {% raw %}
10 |
15 |
16 |
17 |
22 |
23 | {% endraw %}
--------------------------------------------------------------------------------
/source/rss/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: rss
3 | date: 2018-12-20 23:09:03
4 | photos:
5 | ---
6 |
--------------------------------------------------------------------------------
/source/tags/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: tags
3 | date: 2018-12-12 22:14:16
4 | ---
5 |
--------------------------------------------------------------------------------
/source/theme-sakura/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: theme-sakura
3 | comments: false
4 | date: 2019-01-04 22:53:25
5 | keywords: Hexo 主题 Sakura 🌸
6 | description:
7 | photos: https://static.2heng.xin/wp-content/uploads//2018/05/sakura2.jpeg
8 | ---
9 | Hexo主题Sakura修改自WordPress主题[Sakura](https://github.com/mashirozx/Sakura/),感谢原作者[Mashiro](https://2heng.xin/)
--------------------------------------------------------------------------------
/source/video/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: video
3 | date: 2018-12-20 23:14:38
4 | keywords: B站
5 | description:
6 | comments: false
7 | photos:
8 | ---
9 | {% raw %}
10 |
32 | {% endraw %}
33 |
34 | {% raw %}
35 |
37 |
38 |
42 |
92 | {% endraw %}
--------------------------------------------------------------------------------
/themes/Sakura/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by https://www.gitignore.io/api/webstorm
2 |
3 | ### WebStorm ###
4 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
5 |
6 | *.iml
7 |
8 | ## Directory-based project format:
9 | .idea/
10 | # if you remove the above rule, at least ignore the following:
11 |
12 | # User-specific stuff:
13 | # .idea/workspace.xml
14 | # .idea/tasks.xml
15 | # .idea/dictionaries
16 |
17 | # Sensitive or high-churn files:
18 | # .idea/dataSources.ids
19 | # .idea/dataSources.xml
20 | # .idea/sqlDataSources.xml
21 | # .idea/dynamic.xml
22 | # .idea/uiDesigner.xml
23 |
24 | # Gradle:
25 | # .idea/gradle.xml
26 | # .idea/libraries
27 |
28 | # Mongo Explorer plugin:
29 | # .idea/mongoSettings.xml
30 |
31 | ## File-based project format:
32 | *.ipr
33 | *.iws
34 |
35 | ## Plugin-specific files:
36 |
37 | # IntelliJ
38 | /out/
39 |
40 | # mpeltonen/sbt-idea plugin
41 | .idea_modules/
42 |
43 | # JIRA plugin
44 | atlassian-ide-plugin.xml
45 |
46 | # Crashlytics plugin (for Android Studio and IntelliJ)
47 | com_crashlytics_export_strings.xml
48 | crashlytics.properties
49 | crashlytics-build.properties
50 |
51 |
--------------------------------------------------------------------------------
/themes/Sakura/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "6.10.0"
4 | install:
5 | npm install
6 |
--------------------------------------------------------------------------------
/themes/Sakura/CNAME:
--------------------------------------------------------------------------------
1 | sakura.hojun.cn
--------------------------------------------------------------------------------
/themes/Sakura/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 Mr.Seven
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/themes/Sakura/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/honjun/hexo-theme-sakura/92f6d48e48048e296d4999c354412bab2d751efa/themes/Sakura/README.md
--------------------------------------------------------------------------------
/themes/Sakura/README.zhCN.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/honjun/hexo-theme-sakura/92f6d48e48048e296d4999c354412bab2d751efa/themes/Sakura/README.zhCN.md
--------------------------------------------------------------------------------
/themes/Sakura/_config.yml:
--------------------------------------------------------------------------------
1 | # site name
2 | prefixName: さくら荘その
3 | siteName: hojun
4 | # favicon and site master avatar
5 | favicon: /images/favicon.ico
6 | avatar: /img/custom/avatar.jpg
7 | url: https://sakura.hojun.cn
8 | description: Live your life with passion! With some drive!
9 | cdn: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6
10 | pjax: 1
11 | # 1开启
12 | mathjax: 0
13 |
14 | notice: hexo-Sakura主题已经开源,目前正在开发中...
15 | lazyloadImg: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/loader/orange.progress-bar-stripe-loader.svg
16 |
17 | menus:
18 | 首页: { path: /, fa: fa-fort-awesome faa-shake }
19 | 归档: { path: /archives, fa: fa-archive faa-shake, submenus: {
20 | 技术: {path: /categories/技术/, fa: fa-code },
21 | 生活: {path: /categories/生活/, fa: fa-file-text-o },
22 | 资源: {path: /categories/资源/, fa: fa-cloud-download },
23 | 随想: {path: /categories/随想/, fa: fa-commenting-o },
24 | 转载: {path: /categories/转载/, fa: fa-book }
25 | } }
26 | 清单: { path: javascript:;, fa: fa-list-ul faa-vertical, submenus: {
27 | 书单: {path: /tags/悦读/, fa: fa-th-list faa-bounce },
28 | 番组: {path: /bangumi/, fa: fa-film faa-vertical },
29 | 歌单: {path: /music/, fa: fa-headphones },
30 | 图集: {path: /tags/图集/, fa: fa-photo }
31 | } }
32 | 留言板: { path: /comment/, fa: fa-pencil-square-o faa-tada }
33 | 友人帐: { path: /links/, fa: fa-link faa-shake }
34 | 赞赏: { path: /donate/, fa: fa-heart faa-pulse }
35 | 关于: { path: /, fa: fa-leaf faa-wrench , submenus: {
36 | 我?: {path: /about/, fa: fa-meetup},
37 | 主题: {path: /theme-sakura/, fa: iconfont icon-sakura },
38 | Lab: {path: /lab/, fa: fa-cogs },
39 | } }
40 | 客户端: { path: /client/, fa: fa-android faa-vertical }
41 | RSS: { path: /atom.xml, fa: fa-rss faa-pulse }
42 |
43 |
44 | # Home page sort type: -1: newer first,1: older first.
45 | homePageSortType: -1
46 | # Home page article shown number)
47 | homeArticleShown: 10
48 | # 背景图片 更好的修改
49 | bg:
50 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(1).jpg.webp
51 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(2).jpg.webp
52 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(3).jpg.webp
53 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(4).jpg.webp
54 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(5).jpg.webp
55 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(6).jpg.webp
56 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(7).jpg.webp
57 | - https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cover/(8).jpg.webp
58 |
59 | # 背景图片样式 空 原图效果 filter-dim 阴影 filter-grid 横条 filter-dot 点点
60 | bgclass: filter-dot
61 |
62 | # startdash url, title, desc img
63 | startdash:
64 | - {url: /theme-sakura/, title: Sakura, desc: 本站 hexo 主题, img: /img/startdash/sakura.md.png}
65 | - {url: http://space.bilibili.com/271849279, title: Bilibili, desc: 博主的b站视频, img: /img/startdash/bilibili.jpg}
66 | - {url: /, title: hojun的万事屋, desc: 技术服务, img: /img/startdash/wangshiwu.jpg}
67 |
68 |
69 |
70 | # your site build time or founded date
71 | siteBuildingTime: 07/17/2018
72 |
73 | #social url, img PC端配置
74 | social:
75 | github: {url: http://github.com/honjun, img: /img/social/github.png}
76 | sina: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/sina.png}
77 | wangyiyun: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/wangyiyun.png}
78 | zhihu: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/zhihu.png}
79 | email: {url: http://weibo.com/mashirozx?is_all=1, img: /img/social/email.svg}
80 | wechat: {url: /#, qrcode: /img/custom/wechat.jpg, img: /img/social/wechat.png}
81 | wechat2: {url: /#, qrcode: /img/custom/wechat.jpg, img: /img/social/wechat.png}
82 |
83 | #social url, img 移动端配置
84 | msocial:
85 | github: {url: http://github.com/honjun, fa: fa-github, color: 333}
86 | weibo: {url: http://weibo.com/mashirozx?is_all=1, fa: fa-weibo, color: dd4b39}
87 | qq: {url: https://wpa.qq.com/msgrd?v=3&uin=954655431&site=qq&menu=yes, fa: fa-qq, color: 25c6fe}
88 |
89 | donate:
90 | paypal: https://www.paypal.me/hojuncn
91 | alipay: /img/custom/donate/AliPayQR.jpg
92 | wechat: /img/custom/donate/WeChanQR.jpg
93 | wechatSQ: /img/custom/donate/WeChanSQ.jpg
94 |
95 | # 视频地址为https://cdn.jsdelivr.net/gh/honjun/hojun@1.2/Unbroken.mp4,配置如下
96 | movies:
97 | url: https://cdn.jsdelivr.net/gh/honjun/hojun@1.2
98 | # 多个视频用逗号隔开,随机获取。支持的格式目前已知MP4,Flv。其他的可以试下,不保证有用
99 | name: Unbroken.mp4
100 |
101 | aplayer:
102 | id: 2660651585
103 | server: netease
104 | type: playlist
105 | fixed: true
106 | autoplay: false
107 | loop: all
108 | order: random
109 | preload: auto
110 | volume: 0.7
111 | mutex: true
112 |
113 | # Valine
114 | valine: true
115 | v_appId: GyC3NzMvd0hT9Yyd2hYIC0MN-gzGzoHsz
116 | v_appKey: mgOpfzbkHYqU92CV4IDlAUHQ
117 |
118 | # Waline
119 | waline:
120 | enable: false
121 | serverURL: #服务端地址
122 | visitor: false #统计阅读量
123 | comment_count: true #统计评论数
124 | avatar: mp # Gravatar style : mp/identicon/monsterid/wavatar/retro/hide
125 | guest_info: nick #,mail,link # custom comment header
126 | pageSize: 10
127 | placeholder: 祝开开心心! # Comment Box placeholder
128 | requiredFields: [ 'nick','mail' ] #设置必填项
129 | background: https://gitee.com/cungudafa/source/raw/master/img/gif/Sitich/Sitich2.gif #输入框提示动画
--------------------------------------------------------------------------------
/themes/Sakura/languages/en.yml:
--------------------------------------------------------------------------------
1 | home: Home
2 | archives: Archives
3 | about: About
4 | categories: Categories
5 | series: Series
6 | search: Search
7 | searchPlaceHolder: Input Search key Words Here
8 | tags: Tags
9 | tagcloud: Tag Cloud
10 | video: Video
11 | help: Help
12 | prev: Prev
13 | next: Next
14 | comment: Comments
15 | page: Page %d
16 | recent_posts: Recent Posts
17 | newer: Newer
18 | older: Older
19 | share: Share
20 | theme_by: Theme by
21 | rss_feed: RSS Feed
22 | category: Category
23 | tag: Tag
24 | connect: 'Connect With Us'
25 | post_total_count: There are %d posts in total till now.
26 | read_more: Continue Reading →
27 | contents: Contents
28 | none: None
29 | insight:
30 | hint: 'Type something...'
31 | posts: 'Posts'
32 | pages: 'Pages'
33 | categories: 'Categories'
34 | tags: 'Tags'
35 | untitled: '(Untitled)'
--------------------------------------------------------------------------------
/themes/Sakura/languages/zh-cn.yml:
--------------------------------------------------------------------------------
1 | home: 首页
2 | archives: 文章归档
3 | about: 关于作者
4 | categories: 分类
5 | series: 系列文章
6 | search: 搜索
7 | searchPlaceHolder: 请输入关键字
8 | tags: 标签
9 | tagcloud: 标签云
10 | video: 视频资源
11 | help: 关于本站
12 | links: 友情链接
13 | photo: 图集
14 | book: 悦读
15 | music: 音乐
16 | cloud: 资源
17 | prev:
18 | next:
19 | comment: 留言
20 | page: 第 %d 页
21 | recent_posts: 最新文章
22 | newer: 上一篇
23 | older: 下一篇
24 | share: 分享
25 | theme_by: Theme by
26 | rss_feed: RSS Feed
27 | category: Category
28 | tag: Tag
29 | connect: '联系我们'
30 | post_total_count: 嗯,目前共计%d篇文章
31 | read_more: '阅读全文'
32 | contents: 文章目录
33 |
34 | none: 无
35 | insight:
36 | hint: '请输入关键词...'
37 | posts: '文章'
38 | pages: '页面'
39 | categories: '分类'
40 | tags: '标签'
41 | untitled: '(无标题)'
42 |
43 | #category
44 | 技术:
45 | zh: 野生技术协会
46 | en: Geek – Only for Love
47 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/coding.jpg
48 | 生活:
49 | zh: 生活
50 | en: live
51 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/writing.jpg
52 |
53 | #tag
54 | 悦读:
55 | img: https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/reading.jpg
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/_page.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_widget/common-page', {post: post}) %>
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/_post.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_widget/common-article', {post: post}) %>
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/aplayer.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
31 |
33 | <%- i %>="<%- theme.aplayer[i] %>"
34 | <% } %>
35 |
36 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/archive.ejs:
--------------------------------------------------------------------------------
1 | <% if (pagination == 2){ %>
2 |
3 | <% page.posts.sort('date', theme.homePageSortType).limit(theme.homeArticleShown).each(function(post, index){ %>
4 | <%- partial('_widget/index-items', {index: index, post: post}) %>
5 | <% }) %>
6 | <% } else { %>
7 | <% page.posts.each(function(post, index){ %>
8 | <%- partial('_widget/index-items', {index: index, post: post}) %>
9 | <% }) %>
10 | <% } %>
11 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/category-archive.ejs:
--------------------------------------------------------------------------------
1 | <% if (pagination == 2){ %>
2 |
3 | <% page.posts.sort('date', theme.homePageSortType).limit(theme.homeArticleShown).each(function(post, index){ %>
4 | <%- partial('_widget/category-items', {index: index, post: post}) %>
5 | <% }) %>
6 | <% } else { %>
7 | <% page.posts.each(function(post, index){ %>
8 | <%- partial('_widget/category-items', {index: index, post: post}) %>
9 | <% }) %>
10 | <% } %>
11 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/comment.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.valine && post.comments) { %>
2 |
3 |
15 | <% } %>
16 |
17 | <% if (theme.waline.enable && post.comments) { %>
18 |
19 |
20 |
26 |
44 | <% } %>
45 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/footer.ejs:
--------------------------------------------------------------------------------
1 |
12 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
55 |
95 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/head.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | <%
7 | var title = page.title;
8 |
9 | if (is_archive()){
10 | title = __('archive_a');
11 |
12 | if (is_month()){
13 | title += ': ' + page.year + '/' + page.month;
14 | } else if (is_year()){
15 | title += ': ' + page.year;
16 | }
17 | } else if (is_category()){
18 | title = __('category') + ': ' + page.category;
19 | } else if (is_tag()){
20 | title = __('tag') + ': ' + page.tag;
21 | }
22 | %>
23 | <% if (title){ %><%= title %> | <% } %><%= config.title %>
24 | <% if (theme.favicon){ %>
25 |
26 | <% } %>
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
39 |
66 |
73 |
76 |
78 |
79 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/header.ejs:
--------------------------------------------------------------------------------
1 |
57 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/headertop.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/mheader.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
 + theme.avatar%>)
4 |
5 |
<%- theme.prefixName%><%- theme.siteName%>
6 |
7 | <% if (theme.msocial) {%>
8 | <% for (var i in theme.msocial) {%>
9 |
10 | <% } %>
11 | <% } %>
12 |
13 |
37 |
© 2019 hexo-sakura
38 |
39 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_partial/startdash.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | START:DASH!!
6 | <% for (dash in theme.startdash) { %>
7 |
20 | <% } %>
21 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_widget/category-items.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
16 |
17 |
18 |
19 | <%= date(post.date, 'YYYY-M-D') %>
20 |
21 | <%= post.description %>
22 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_widget/common-article.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <% if (post.photos && post.photos.length){ %>
5 |
28 | <% } %>
29 |
30 |
31 |
32 |
33 |
34 |
35 | <% if (!post.photos[0]){ %>
36 |
42 | <% } %>
43 |
44 | <%- post.content %>
45 |
46 |
47 |
48 |
赏
49 |
50 |
51 |  + theme.donate.alipay%>)
52 |  + theme.donate.wechat%>)
53 |
54 |
55 |
56 |
57 |
58 |
67 |
68 |
69 |
70 |
71 | <% if (post.prev){ %>
72 | <% if (post.next) { %>
73 |
74 | <% } else { %>
75 |
90 | <% } %>
91 | <% if (post.next){ %>
92 | <% if (post.prev) { %>
93 |
94 | <% } else { %>
95 |
110 | <% } %>
111 |
112 | <%- partial('_partial/comment') %>
113 |
114 |
115 |

116 |
122 |
123 |
124 | <%- post.authorAbout%>
125 |
126 |
127 |
128 |
129 |
130 | <% if (post.mathjax) { %>
131 |
132 |
135 | <% } %>
136 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_widget/common-page.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% if (post.photos && post.photos.length){ %>
3 |
4 |
5 |

6 |
7 |
11 |
12 | <% } %>
13 |
14 |
15 | <%- post.content %>
16 |
17 | <%- partial('_partial/comment') %>
18 |
19 |
赏
20 |
21 |
22 |  + theme.donate.alipay%>)
23 |  + theme.donate.wechat%>)
24 |
25 |
26 |
27 |
28 |
29 |
38 |
39 |
40 |
41 |
42 |
 + theme.avatar%>)
43 |
49 |
50 |
51 | <%- theme.description%>
52 |
53 |
54 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_widget/index-items.ejs:
--------------------------------------------------------------------------------
1 | <% var external_link = config.external_link ? '_blank' : '_self'; %>
2 |
class="post post-list-thumb post-list-thumb-left" <% } %> class="post post-list-thumb" itemscope="" itemtype="https://schema.org/BlogPosting">
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | <%= date(post.date, 'YYYY-M-D HH:MM') %>
14 |
15 | <%= post.title %>
16 |
17 |
18 |
19 | <% post.tags.each((tag)=>{ %>
20 | <%= tag.name %>·
21 | <% }) %>
22 |
23 |
24 |
25 | <% post.categories.each((category)=>{ %>
26 | <%= category.name %>
27 | <% }) %>
28 |
29 |
30 |
31 |
<%= post.description %>
32 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/_widget/search/insight.ejs:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/archive.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | [
20 | 全部展开/收缩
21 | ]
22 | <% var lastYear; var lastMonth; %>
23 | <% site.posts.sort('date', theme.homePageSortType).each(function(post, i){ %>
24 | <% var currentYear = parseInt(date(post.date, 'YYYY')); %>
25 | <% var currentMonth = parseInt(date(post.date, 'YYYYMM')); %>
26 | <% if (lastYear != currentYear){ %>
27 | <% lastYear = currentYear; %>
28 |
<%= date(post.date, 'YYYY') %>年
29 | <% } %>
30 | <% if (lastMonth != currentMonth){ %>
31 | <% lastMonth = currentMonth; %>
32 |
51 | <% } %>
52 | <% }) %>
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/bangumi.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | <% if (page.bangumis) { %>
7 |
8 |
9 | <% (page.bangumis||[]).forEach(function (bangumi, index) { %>
10 |
11 |
12 |
16 |
17 |
18 | <%- bangumi.title %>
19 |
20 |
21 | <%- bangumi.jp %>
22 |
30 |
31 |
32 |
33 | <%- bangumi.title %>
34 |
35 |
36 | <%- bangumi.jp %>
37 |
38 |
39 | 放送时间: <%- bangumi.time %>
40 | <%- bangumi.desc %>
41 |
49 |
50 |
51 |
52 |
53 |
54 | <% }) %>
55 |
56 |
57 | <% } %>
58 |
59 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/category.ejs:
--------------------------------------------------------------------------------
1 | <%
2 | var img = page.category + '.img';
3 | var zh = page.category + '.zh';
4 | var en = page.category + '.en';
5 | %>
6 |
7 |
8 |
9 |
![]()
10 |
11 |
17 |
18 |
19 |
20 |
21 | <%- partial('_partial/category-archive', {pagination: 2, index: true}) %>
22 |
23 |
24 |
25 |
34 | <% if (page.total > 1 && page.next_link){ %>
35 |
36 | <% } %>
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/donate.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |

7 |
8 |
11 |
12 |
13 |
14 | 如果喜欢我的博客,可以考虑资助一下哦~非常感激!
15 |
16 |
17 |
18 |
19 |
20 | - PayPal
21 | - AliPay
22 | - WeChat
23 |
24 |
Donate
25 |
28 |
29 |
30 |
31 |
32 |
33 |
42 |
43 |
44 |
45 |
 + theme.avatar%>)
46 |
52 |
53 |
54 | <%- theme.description%>
55 |
56 |
57 |
58 |
59 |
102 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/index.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 | <% if (theme.notice) { %>
4 |
5 |
6 |
7 |
<%= theme.notice%>
8 |
9 | <% } %>
10 | <%- partial('_partial/startdash') %>
11 |
12 |
13 |
14 |
15 | Discovery
16 | <%- partial('_partial/archive', {pagination: 2, index: true}) %>
17 |
18 |
19 |
28 |
29 | <% if (page.total > 1 && page.next_link){ %>
30 |
31 | <% } %>
32 |
33 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/layout.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/head') %>
2 |
3 |
4 |
5 |
6 |
7 | <%- partial('_partial/headertop', null, {cache: !config.relative_link}) %>
8 |
9 | <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
10 | <%- body %>
11 |
12 | <%- partial('_widget/search/insight') %>
13 | <%- partial('_partial/footer', null, {cache: !config.relative_link}) %>
14 |
22 |
23 | <%- partial('_partial/mheader', null, {cache: !config.relative_link}) %>
24 | <%- partial('_partial/aplayer', null, {cache: !config.relative_link}) %>
25 |
26 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/links.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |

6 |
7 |
11 |
12 |
13 |
14 |
15 | 欢迎交换友链 ꉂ(ˊᗜˋ)
16 |
17 | 请留言告诉我你的:
18 | 1、名字
19 | 2、一句话介绍(熟人我会亲自帮写的)
20 | 3、主页地址
21 | 4、头像(HTTPS*,可在评论区上传)
22 |
23 | For Example:
24 | ★ Name: hojun
25 | ★ Bio: 好少年光芒万丈
26 | ★ URL: https://www.hojun.cn
27 | ★ Avatar:
28 | 获取嵌入代码
29 |
30 |
31 | ※ 为保证友链质量,今后新申请的友链将经过筛选,请在收到我的回复邮件后再于贵站添加本站链接。原则上过去已添加友链不会轻易删除,如遇死链、改变网站用途(友链主要针对的是同类的博客),将单独移至“阵亡将士”分类中,下次清理时未整改的将移除;如遇盗版、破解、网页植入挖矿脚本、极低质量内容、单方面移除本站链接,将直接移除,恕不另行通知。
32 | <% if (page.links) { %>
33 |
34 | <% (page.links||[]).forEach(function (group, index) { %>
35 |
<%- index + 1 %>. <%- group.group %>
36 | <% if (group.desc) { %>
37 |
<%- group.desc %>
38 | <% } %>
39 |
52 | <% }) %>
53 |
54 | <% } %>
55 | <%- partial('_partial/comment', {post: page}) %>
56 |
57 |
66 |
67 |
68 |
69 |
 + theme.avatar%>)
70 |
76 |
77 |
78 | <%- theme.description%>
79 |
80 |
116 |
--------------------------------------------------------------------------------
/themes/Sakura/layout/page.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/_page', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/themes/Sakura/layout/post.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/_post', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/themes/Sakura/layout/tag.ejs:
--------------------------------------------------------------------------------
1 | <%
2 | var img = page.tag + '.img';
3 | //var zh = page.tag + '.zh';
4 | //var en = page.tag + '.en';
5 | %>
6 |
7 |
8 |
9 |
![]()
src="<%- theme.lazyloadImg%>" data-src="<%= __(img)%>"<%} else {%>src="<%- theme.lazyloadImg%>" data-src="https://view.moezx.cc/images/2017/12/03/writing.jpg"<%} %> class="lazyload" onerror="imgError(this,3)" style="width: 100%; height: 100%; object-fit: cover; pointer-events: none;">
10 |
11 |
14 |
15 |
16 |
17 |
18 | <%- partial('_partial/category-archive', {pagination: 2, index: true}) %>
19 |
20 |
21 |
22 |
31 | <% if (page.total > 1 && page.next_link){ %>
32 |
33 | <% } %>
34 |
35 |
--------------------------------------------------------------------------------
/themes/Sakura/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hexo-theme-jsimple",
3 | "version": "0.0.2",
4 | "description": "Simple three column theme for Hexo.Inspired by JianShu.com",
5 | "license": "MIT",
6 | "dependencies": {
7 | "hexo-renderer-ejs": "^0.2.0",
8 | "hexo-renderer-marked": "^0.2.11"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "git+https://github.com/tangkunyin/hexo-theme-jsimple.git"
13 | },
14 | "keywords": [
15 | "Simple",
16 | "Three Column",
17 | "Jian Shu",
18 | "Hexo"
19 | ],
20 | "bugs": {
21 | "url": "https://github.com/tangkunyin/hexo-theme-jsimple/issues"
22 | },
23 | "author": {
24 | "name": "tangsir",
25 | "url": "https://www.tangkunyin.com",
26 | "email": "iam@tangkunyin.com"
27 | }
28 | }
--------------------------------------------------------------------------------
/themes/Sakura/source/404.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
404 - Not Found
6 |
7 |
100 |
112 |
113 |
114 |
125 |
126 |
127 |