Skip to content

Commit f0aec28

Browse files
committed
first commit
0 parents  commit f0aec28

File tree

10 files changed

+1977
-0
lines changed

10 files changed

+1977
-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.yml

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
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+
syntax_highlighter: highlight.js
47+
highlight:
48+
line_number: true
49+
auto_detect: false
50+
tab_replace: ''
51+
wrap: true
52+
hljs: false
53+
prismjs:
54+
preprocess: true
55+
line_number: true
56+
tab_replace: ''
57+
58+
# Home page setting
59+
# path: Root path for your blogs index page. (default = '')
60+
# per_page: Posts displayed per page. (0 = disable pagination)
61+
# order_by: Posts order. (Order by date descending by default)
62+
index_generator:
63+
path: ''
64+
per_page: 10
65+
order_by: -date
66+
67+
# Category & Tag
68+
default_category: uncategorized
69+
category_map:
70+
tag_map:
71+
72+
# Metadata elements
73+
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
74+
meta_generator: true
75+
76+
# Date / Time format
77+
## Hexo uses Moment.js to parse and display date
78+
## You can customize the date format as defined in
79+
## http://momentjs.com/docs/#/displaying/format/
80+
date_format: YYYY-MM-DD
81+
time_format: HH:mm:ss
82+
## updated_option supports 'mtime', 'date', 'empty'
83+
updated_option: 'mtime'
84+
85+
# Pagination
86+
## Set per_page to 0 to disable pagination
87+
per_page: 10
88+
pagination_dir: page
89+
90+
# Include / Exclude file(s)
91+
## include:/exclude: options only apply to the 'source/' folder
92+
include:
93+
exclude:
94+
ignore:
95+
96+
# Extensions
97+
## Plugins: https://hexo.io/plugins/
98+
## Themes: https://hexo.io/themes/
99+
theme: landscape
100+
101+
# Deployment
102+
## Docs: https://hexo.io/docs/one-command-deployment
103+
deploy:
104+
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": "^7.3.0",
16+
"hexo-generator-archive": "^2.0.0",
17+
"hexo-generator-category": "^2.0.0",
18+
"hexo-generator-index": "^4.0.0",
19+
"hexo-generator-tag": "^2.0.0",
20+
"hexo-renderer-ejs": "^2.0.0",
21+
"hexo-renderer-marked": "^6.3.0",
22+
"hexo-renderer-stylus": "^3.0.1",
23+
"hexo-server": "^3.0.0",
24+
"hexo-theme-landscape": "^1.0.0"
25+
}
26+
}

0 commit comments

Comments
 (0)