Skip to content

Commit 055285f

Browse files
committed
first commit
0 parents  commit 055285f

File tree

11 files changed

+1806
-0
lines changed

11 files changed

+1806
-0
lines changed

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 20

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
_multiconfig.yml

_config.landscape.yml

Whitespace-only changes.

_config.yml

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
# Site
6+
title: Hexo
7+
subtitle: ''
8+
description: ''
9+
keywords:
10+
author: John Doe
11+
language: en
12+
timezone: ''
13+
14+
# URL
15+
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
16+
url: http://example.com
17+
permalink: :year/:month/:day/:title/
18+
permalink_defaults:
19+
pretty_urls:
20+
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
21+
trailing_html: true # Set to false to remove trailing '.html' from permalinks
22+
23+
# Directory
24+
source_dir: source
25+
public_dir: public
26+
tag_dir: tags
27+
archive_dir: archives
28+
category_dir: categories
29+
code_dir: downloads/code
30+
i18n_dir: :lang
31+
skip_render:
32+
33+
# Writing
34+
new_post_name: :title.md # File name of new posts
35+
default_layout: post
36+
titlecase: false # Transform title into titlecase
37+
external_link:
38+
enable: true # Open external links in new tab
39+
field: site # Apply to the whole site
40+
exclude: ''
41+
filename_case: 0
42+
render_drafts: false
43+
post_asset_folder: false
44+
relative_link: false
45+
future: true
46+
highlight:
47+
enable: true
48+
line_number: true
49+
auto_detect: false
50+
tab_replace: ''
51+
wrap: true
52+
hljs: false
53+
prismjs:
54+
enable: false
55+
preprocess: true
56+
line_number: true
57+
tab_replace: ''
58+
59+
# Home page setting
60+
# path: Root path for your blogs index page. (default = '')
61+
# per_page: Posts displayed per page. (0 = disable pagination)
62+
# order_by: Posts order. (Order by date descending by default)
63+
index_generator:
64+
path: ''
65+
per_page: 10
66+
order_by: -date
67+
68+
# Category & Tag
69+
default_category: uncategorized
70+
category_map:
71+
tag_map:
72+
73+
# Metadata elements
74+
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
75+
meta_generator: true
76+
77+
# Date / Time format
78+
## Hexo uses Moment.js to parse and display date
79+
## You can customize the date format as defined in
80+
## http://momentjs.com/docs/#/displaying/format/
81+
date_format: YYYY-MM-DD
82+
time_format: HH:mm:ss
83+
## updated_option supports 'mtime', 'date', 'empty'
84+
updated_option: 'mtime'
85+
86+
# Pagination
87+
## Set per_page to 0 to disable pagination
88+
per_page: 10
89+
pagination_dir: page
90+
91+
# Include / Exclude file(s)
92+
## include:/exclude: options only apply to the 'source/' folder
93+
include:
94+
exclude:
95+
ignore:
96+
97+
# Extensions
98+
## Plugins: https://hexo.io/plugins/
99+
## Themes: https://hexo.io/themes/
100+
theme: landscape
101+
102+
# Deployment
103+
## Docs: https://hexo.io/docs/one-command-deployment
104+
deploy:
105+
type: ''

package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "hexo-site",
3+
"version": "0.0.0",
4+
"private": true,
5+
"scripts": {
6+
"build": "hexo generate",
7+
"clean": "hexo clean",
8+
"deploy": "hexo deploy",
9+
"server": "hexo server"
10+
},
11+
"hexo": {
12+
"version": ""
13+
},
14+
"dependencies": {
15+
"hexo": "^6.3.0",
16+
"hexo-generator-archive": "^1.0.0",
17+
"hexo-generator-category": "^1.0.0",
18+
"hexo-generator-index": "^2.0.0",
19+
"hexo-generator-tag": "^1.0.0",
20+
"hexo-renderer-ejs": "^2.0.0",
21+
"hexo-renderer-marked": "^5.0.0",
22+
"hexo-renderer-stylus": "^2.1.0",
23+
"hexo-server": "^3.0.0",
24+
"hexo-theme-landscape": "^0.0.3"
25+
}
26+
}

scaffolds/draft.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: {{ title }}
3+
tags:
4+
---

scaffolds/page.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: {{ title }}
3+
date: {{ date }}
4+
---

scaffolds/post.md

+5
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

+38
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/one-command-deployment.html)

themes/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)