Skip to content

Commit 7d6bfc5

Browse files
committed
init
0 parents  commit 7d6bfc5

File tree

196 files changed

+20955
-0
lines changed

Some content is hidden

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

196 files changed

+20955
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
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

.github/workflows/pages.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # default branch
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
# If your repository depends on submodule, please see: https://github.com/actions/checkout
16+
submodules: recursive
17+
- name: Use Node.js 20
18+
uses: actions/setup-node@v4
19+
with:
20+
# Examples: 20, 18.19, >=16.20.2, lts/Iron, lts/Hydrogen, *, latest, current, node
21+
# Ref: https://github.com/actions/setup-node#supported-version-syntax
22+
node-version: "20"
23+
- name: Cache NPM dependencies
24+
uses: actions/cache@v4
25+
with:
26+
path: node_modules
27+
key: ${{ runner.OS }}-npm-cache
28+
restore-keys: |
29+
${{ runner.OS }}-npm-cache
30+
- name: Install Dependencies
31+
run: npm install
32+
- name: Build
33+
run: npm run build
34+
- name: Upload Pages artifact
35+
uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: ./public
38+
deploy:
39+
needs: build
40+
permissions:
41+
pages: write
42+
id-token: write
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 8 additions & 0 deletions
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

CNAME

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
www.hdq66.site
2+
q5xp7gbanb4i
3+
gv-xw7sb63dheln45.dv.googlehosted.com

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hexo + reimu + github pages 搭建的个人博客
2+
[我的博客网站](https://www.hdq66.site)

_config.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
# Site
6+
title: 学海无涯
7+
subtitle: 无待于外,自求其内。
8+
description: Life & Study
9+
keywords: 欢迎和我探讨技术以及分享实用工具
10+
author: luliqwerty
11+
language: zh-CN
12+
# timezone: Asia/Shanghai
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: https://www.hdq66.site
17+
permalink: /:title/
18+
permalink_pinyin:
19+
enable: true
20+
separator: "-"
21+
#exclude: #排除的文章,排出后不会进行转义
22+
# permalink: :year/:month/:day/:title/
23+
permalink_defaults:
24+
pretty_urls:
25+
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
26+
trailing_html: true # Set to false to remove trailing '.html' from permalinks
27+
28+
# Directory
29+
source_dir: source
30+
public_dir: public
31+
tag_dir: tags
32+
archive_dir: archives
33+
category_dir: categories
34+
code_dir: downloads/code
35+
i18n_dir: :lang
36+
skip_render:
37+
38+
# Writing
39+
new_post_name: :title.md # File name of new posts
40+
default_layout: post
41+
titlecase: false # Transform title into titlecase
42+
external_link:
43+
enable: true # Open external links in new tab
44+
field: site # Apply to the whole site
45+
exclude: ''
46+
filename_case: 0
47+
render_drafts: false
48+
post_asset_folder: false
49+
relative_link: false
50+
future: true
51+
syntax_highlighter: highlight.js
52+
highlight:
53+
line_number: false
54+
auto_detect: false
55+
tab_replace: ''
56+
wrap: true
57+
hljs: false
58+
prismjs:
59+
preprocess: true
60+
line_number: true
61+
tab_replace: ''
62+
63+
# Home page setting
64+
# path: Root path for your blogs index page. (default = '')
65+
# per_page: Posts displayed per page. (0 = disable pagination)
66+
# order_by: Posts order. (Order by date descending by default)
67+
index_generator:
68+
path: ''
69+
per_page: 8
70+
order_by: -date
71+
72+
# Category & Tag
73+
default_category: uncategorized
74+
category_map:
75+
tag_map:
76+
77+
# Metadata elements
78+
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
79+
meta_generator: true
80+
81+
# Date / Time format
82+
## Hexo uses Moment.js to parse and display date
83+
## You can customize the date format as defined in
84+
## http://momentjs.com/docs/#/displaying/format/
85+
date_format: YYYY-MM-DD
86+
time_format: HH:mm:ss
87+
## updated_option supports 'mtime', 'date', 'empty'
88+
updated_option: 'mtime'
89+
90+
# Pagination
91+
## Set per_page to 0 to disable pagination
92+
per_page: 10
93+
pagination_dir: page
94+
95+
# Include / Exclude file(s)
96+
## include:/exclude: options only apply to the 'source/' folder
97+
include:
98+
exclude:
99+
ignore:
100+
101+
# Extensions
102+
## Plugins: https://hexo.io/plugins/
103+
## Themes: https://hexo.io/themes/
104+
theme: reimu
105+
106+
# Deployment
107+
## Docs: https://hexo.io/docs/one-command-deployment
108+
deploy:
109+
type: git
110+
repo: git@github.com:luliqwerty/luliqwerty.github.io.git
111+
branch: master
112+

google024ea0efa1b61a94.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-site-verification: google024ea0efa1b61a94.html

0 commit comments

Comments
 (0)