Skip to content

Commit 5320858

Browse files
committed
init
0 parents  commit 5320858

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+5593
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/

_config.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
#Site
6+
title: Hyhcoder
7+
subtitle: 一个好高骛远的程序猿
8+
description: From zero to infinity
9+
author: Chris
10+
#language:
11+
#timezone:
12+
13+
# URL
14+
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
15+
url: http://hyhcoer.github.io
16+
root: /
17+
permalink: :year/:month/:day/:title/
18+
#permalink_defaults:
19+
20+
# Directory
21+
source_dir: source
22+
public_dir: public
23+
tag_dir: tags
24+
archive_dir: archives
25+
category_dir: categories
26+
code_dir: downloads/code
27+
i18n_dir: :lang
28+
skip_render:
29+
30+
# Writing
31+
new_post_name: :title.md # File name of new posts
32+
default_layout: post
33+
titlecase: false # Transform title into titlecase
34+
external_link: true # Open external links in new tab
35+
filename_case: 0
36+
render_drafts: false
37+
post_asset_folder: false
38+
relative_link: false
39+
future: true
40+
highlight:
41+
enable: true
42+
line_number: true
43+
auto_detect: false
44+
tab_replace:
45+
46+
# Category & Tag
47+
default_category: uncategorized
48+
category_map:
49+
tag_map:
50+
51+
# Date / Time format
52+
## Hexo uses Moment.js to parse and display date
53+
## You can customize the date format as defined in
54+
## http://momentjs.com/docs/#/displaying/format/
55+
date_format: YYYY-MM-DD
56+
time_format: HH:mm:ss
57+
58+
# Pagination
59+
## Set per_page to 0 to disable pagination
60+
per_page: 10
61+
pagination_dir: page
62+
63+
# Extensions
64+
## Plugins: https://hexo.io/plugins/
65+
## Themes: https://hexo.io/themes/
66+
theme: huno
67+
68+
# Deployment
69+
## Docs: https://hexo.io/docs/deployment.html
70+
deploy:
71+
type: git
72+
73+
repository: git@github.com:hyhcoder/hyhcoder.github.io.git
74+
75+
branch: master

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "hexo-site",
3+
"version": "0.0.0",
4+
"private": true,
5+
"hexo": {
6+
"version": "3.2.2"
7+
},
8+
"dependencies": {
9+
"hexo": "^3.2.0",
10+
"hexo-deployer-git": "^0.2.0",
11+
"hexo-generator-archive": "^0.1.4",
12+
"hexo-generator-category": "^0.1.3",
13+
"hexo-generator-index": "^0.2.0",
14+
"hexo-generator-tag": "^0.2.0",
15+
"hexo-renderer-ejs": "^0.2.0",
16+
"hexo-renderer-marked": "^0.2.10",
17+
"hexo-renderer-stylus": "^0.3.1",
18+
"hexo-server": "^0.2.0"
19+
}
20+
}

scaffolds/draft.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: {{ title }}
3+
tags:
4+
---

scaffolds/page.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: {{ title }}
3+
date: {{ date }}
4+
---

scaffolds/post.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: {{ title }}
3+
date: {{ date }}
4+
tags:
5+
---

source/_posts/hello-world.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Hello World
3+
---
4+
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
5+
6+
## Quick Start
7+
8+
### Create a new post
9+
10+
``` bash
11+
$ hexo new "My New Post"
12+
```
13+
14+
More info: [Writing](https://hexo.io/docs/writing.html)
15+
16+
### Run server
17+
18+
``` bash
19+
$ hexo server
20+
```
21+
22+
More info: [Server](https://hexo.io/docs/server.html)
23+
24+
### Generate static files
25+
26+
``` bash
27+
$ hexo generate
28+
```
29+
30+
More info: [Generating](https://hexo.io/docs/generating.html)
31+
32+
### Deploy to remote sites
33+
34+
``` bash
35+
$ hexo deploy
36+
```
37+
38+
More info: [Deployment](https://hexo.io/docs/deployment.html)

source/_posts/test.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
##第一次自己写文章
2+
3+
测试代码
4+
```java
5+
int a
6+
class{
7+
8+
9+
}
10+
```
11+
12+
13+

themes/huno

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 72d31efb3deb854e9dc94e11aa491e28a7214257

0 commit comments

Comments
 (0)