Skip to content

Commit f35996a

Browse files
author
zangchao
committed
use aircloud theme and add comments
1 parent ac3712f commit f35996a

Some content is hidden

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

57 files changed

+11621
-9
lines changed

.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+
.idea/
8+
.vscode/

_config.yml

+49-8
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
## Source: https://github.com/hexojs/hexo/
44

55
# Site
6-
title: Hexo
7-
subtitle: ''
8-
description: ''
6+
title: Aike's Blog
7+
subtitle: 'code, life, study'
8+
description: '程序员Aike的博客'
99
keywords:
10-
author: John Doe
11-
language: en
12-
timezone: ''
10+
author: Aike
11+
language: zh
12+
timezone:
1313

1414
# URL
1515
## 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
16+
url: http://localhost:4000/
1717
permalink: :year/:month/:day/:title/
1818
permalink_defaults:
1919
pretty_urls:
@@ -96,9 +96,50 @@ ignore:
9696
# Extensions
9797
## Plugins: https://hexo.io/plugins/
9898
## Themes: https://hexo.io/themes/
99-
theme: landscape
99+
theme: aircloud
100100

101101
# Deployment
102102
## Docs: https://hexo.io/docs/one-command-deployment
103103
deploy:
104104
type: ''
105+
106+
# npm i hexo-generator-search --save
107+
search:
108+
path: search.json
109+
field: post
110+
111+
# Build settings
112+
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
113+
sidebar-avatar: img/avatar.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
114+
115+
zhihu_username: cang-xiao-ai
116+
github_username: codeaike
117+
118+
comment:
119+
type: giscus
120+
script: |
121+
<script src="https://giscus.app/client.js"
122+
data-repo="codeaike/codeaike.github.io"
123+
data-repo-id="R_kgDOLcfOCg"
124+
data-category="Announcements"
125+
data-category-id="DIC_kwDOLcfOCs4Cd1u7"
126+
data-mapping="title"
127+
data-strict="0"
128+
data-reactions-enabled="1"
129+
data-emit-metadata="0"
130+
data-input-position="bottom"
131+
data-theme="light"
132+
data-lang="zh-CN"
133+
crossorigin="anonymous"
134+
async>
135+
</script>
136+
137+
friends: [
138+
{
139+
title: "Aike's Blog",
140+
href: "http://8.142.29.189:4000/"
141+
},{
142+
title: "Aike's Blog",
143+
href: "https://codeaike.github.io/"
144+
}
145+
]

0 commit comments

Comments
 (0)