Init
This commit is contained in:
11
content/_index.md
Normal file
11
content/_index.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: HB Theme Template
|
||||
# menu:
|
||||
# main:
|
||||
# name: Home
|
||||
# weight: 1
|
||||
# params:
|
||||
# icon:
|
||||
# vendor: bs
|
||||
# name: house
|
||||
---
|
11
content/_index.zh-hans.md
Normal file
11
content/_index.zh-hans.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: HB 主题模板
|
||||
# menu:
|
||||
# main:
|
||||
# name: 主页
|
||||
# weight: 1
|
||||
# params:
|
||||
# icon:
|
||||
# vendor: bs
|
||||
# name: house
|
||||
---
|
3
content/archives/2021/01/_index.md
Normal file
3
content/archives/2021/01/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Jan"
|
||||
---
|
3
content/archives/2021/01/_index.zh-hans.md
Normal file
3
content/archives/2021/01/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "一月"
|
||||
---
|
3
content/archives/2021/02/_index.md
Normal file
3
content/archives/2021/02/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Feb"
|
||||
---
|
3
content/archives/2021/02/_index.zh-hans.md
Normal file
3
content/archives/2021/02/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "二月"
|
||||
---
|
3
content/archives/2021/03/_index.md
Normal file
3
content/archives/2021/03/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Mar
|
||||
---
|
3
content/archives/2021/03/_index.zh-hans.md
Normal file
3
content/archives/2021/03/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 三月
|
||||
---
|
3
content/archives/2021/04/_index.md
Normal file
3
content/archives/2021/04/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Apr
|
||||
---
|
3
content/archives/2021/04/_index.zh-hans.md
Normal file
3
content/archives/2021/04/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 四月
|
||||
---
|
3
content/archives/2021/05/_index.md
Normal file
3
content/archives/2021/05/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: May
|
||||
---
|
3
content/archives/2021/05/_index.zh-hans.md
Normal file
3
content/archives/2021/05/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 五月
|
||||
---
|
3
content/archives/2021/06/_index.md
Normal file
3
content/archives/2021/06/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Jun
|
||||
---
|
3
content/archives/2021/06/_index.zh-hans.md
Normal file
3
content/archives/2021/06/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 六月
|
||||
---
|
3
content/archives/2021/07/_index.md
Normal file
3
content/archives/2021/07/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: July
|
||||
---
|
3
content/archives/2021/07/_index.zh-hans.md
Normal file
3
content/archives/2021/07/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 七月
|
||||
---
|
3
content/archives/2021/08/_index.md
Normal file
3
content/archives/2021/08/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Aug
|
||||
---
|
3
content/archives/2021/08/_index.zh-hans.md
Normal file
3
content/archives/2021/08/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 八月
|
||||
---
|
3
content/archives/2021/09/_index.md
Normal file
3
content/archives/2021/09/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Sep
|
||||
---
|
3
content/archives/2021/09/_index.zh-hans.md
Normal file
3
content/archives/2021/09/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 九月
|
||||
---
|
3
content/archives/2021/10/_index.md
Normal file
3
content/archives/2021/10/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Oct
|
||||
---
|
3
content/archives/2021/10/_index.zh-hans.md
Normal file
3
content/archives/2021/10/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十月
|
||||
---
|
3
content/archives/2021/11/_index.md
Normal file
3
content/archives/2021/11/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Nov
|
||||
---
|
3
content/archives/2021/11/_index.zh-hans.md
Normal file
3
content/archives/2021/11/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十一月
|
||||
---
|
3
content/archives/2021/12/_index.md
Normal file
3
content/archives/2021/12/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Dec
|
||||
---
|
3
content/archives/2021/12/_index.zh-hans.md
Normal file
3
content/archives/2021/12/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十二月
|
||||
---
|
3
content/archives/2021/_index.md
Normal file
3
content/archives/2021/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2021
|
||||
---
|
3
content/archives/2021/_index.zh-hans.md
Normal file
3
content/archives/2021/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2021
|
||||
---
|
3
content/archives/2022/01/_index.md
Normal file
3
content/archives/2022/01/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Jan"
|
||||
---
|
3
content/archives/2022/01/_index.zh-hans.md
Normal file
3
content/archives/2022/01/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "一月"
|
||||
---
|
3
content/archives/2022/02/_index.md
Normal file
3
content/archives/2022/02/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Feb"
|
||||
---
|
3
content/archives/2022/02/_index.zh-hans.md
Normal file
3
content/archives/2022/02/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "二月"
|
||||
---
|
3
content/archives/2022/03/_index.md
Normal file
3
content/archives/2022/03/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Mar
|
||||
---
|
3
content/archives/2022/03/_index.zh-hans.md
Normal file
3
content/archives/2022/03/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 三月
|
||||
---
|
3
content/archives/2022/04/_index.md
Normal file
3
content/archives/2022/04/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Apr
|
||||
---
|
3
content/archives/2022/04/_index.zh-hans.md
Normal file
3
content/archives/2022/04/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 四月
|
||||
---
|
3
content/archives/2022/05/_index.md
Normal file
3
content/archives/2022/05/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: May
|
||||
---
|
3
content/archives/2022/05/_index.zh-hans.md
Normal file
3
content/archives/2022/05/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 五月
|
||||
---
|
3
content/archives/2022/06/_index.md
Normal file
3
content/archives/2022/06/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Jun
|
||||
---
|
3
content/archives/2022/06/_index.zh-hans.md
Normal file
3
content/archives/2022/06/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 六月
|
||||
---
|
3
content/archives/2022/07/_index.md
Normal file
3
content/archives/2022/07/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: July
|
||||
---
|
3
content/archives/2022/07/_index.zh-hans.md
Normal file
3
content/archives/2022/07/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 七月
|
||||
---
|
3
content/archives/2022/08/_index.md
Normal file
3
content/archives/2022/08/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Aug
|
||||
---
|
3
content/archives/2022/08/_index.zh-hans.md
Normal file
3
content/archives/2022/08/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 八月
|
||||
---
|
3
content/archives/2022/09/_index.md
Normal file
3
content/archives/2022/09/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Sep
|
||||
---
|
3
content/archives/2022/09/_index.zh-hans.md
Normal file
3
content/archives/2022/09/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 九月
|
||||
---
|
3
content/archives/2022/10/_index.md
Normal file
3
content/archives/2022/10/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Oct
|
||||
---
|
3
content/archives/2022/10/_index.zh-hans.md
Normal file
3
content/archives/2022/10/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十月
|
||||
---
|
3
content/archives/2022/11/_index.md
Normal file
3
content/archives/2022/11/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Nov
|
||||
---
|
3
content/archives/2022/11/_index.zh-hans.md
Normal file
3
content/archives/2022/11/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十一月
|
||||
---
|
3
content/archives/2022/12/_index.md
Normal file
3
content/archives/2022/12/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Dec
|
||||
---
|
3
content/archives/2022/12/_index.zh-hans.md
Normal file
3
content/archives/2022/12/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十二月
|
||||
---
|
3
content/archives/2022/_index.md
Normal file
3
content/archives/2022/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2022
|
||||
---
|
3
content/archives/2022/_index.zh-hans.md
Normal file
3
content/archives/2022/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2022
|
||||
---
|
3
content/archives/2023/01/_index.md
Normal file
3
content/archives/2023/01/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Jan"
|
||||
---
|
3
content/archives/2023/01/_index.zh-hans.md
Normal file
3
content/archives/2023/01/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "一月"
|
||||
---
|
3
content/archives/2023/02/_index.md
Normal file
3
content/archives/2023/02/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Feb"
|
||||
---
|
3
content/archives/2023/02/_index.zh-hans.md
Normal file
3
content/archives/2023/02/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "二月"
|
||||
---
|
3
content/archives/2023/03/_index.md
Normal file
3
content/archives/2023/03/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Mar
|
||||
---
|
3
content/archives/2023/03/_index.zh-hans.md
Normal file
3
content/archives/2023/03/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 三月
|
||||
---
|
3
content/archives/2023/04/_index.md
Normal file
3
content/archives/2023/04/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Apr
|
||||
---
|
3
content/archives/2023/04/_index.zh-hans.md
Normal file
3
content/archives/2023/04/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 四月
|
||||
---
|
3
content/archives/2023/05/_index.md
Normal file
3
content/archives/2023/05/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: May
|
||||
---
|
3
content/archives/2023/05/_index.zh-hans.md
Normal file
3
content/archives/2023/05/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 五月
|
||||
---
|
3
content/archives/2023/06/_index.md
Normal file
3
content/archives/2023/06/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Jun
|
||||
---
|
3
content/archives/2023/06/_index.zh-hans.md
Normal file
3
content/archives/2023/06/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 六月
|
||||
---
|
3
content/archives/2023/07/_index.md
Normal file
3
content/archives/2023/07/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: July
|
||||
---
|
3
content/archives/2023/07/_index.zh-hans.md
Normal file
3
content/archives/2023/07/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 七月
|
||||
---
|
3
content/archives/2023/08/_index.md
Normal file
3
content/archives/2023/08/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Aug
|
||||
---
|
3
content/archives/2023/08/_index.zh-hans.md
Normal file
3
content/archives/2023/08/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 八月
|
||||
---
|
3
content/archives/2023/09/_index.md
Normal file
3
content/archives/2023/09/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Sep
|
||||
---
|
3
content/archives/2023/09/_index.zh-hans.md
Normal file
3
content/archives/2023/09/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 九月
|
||||
---
|
3
content/archives/2023/10/_index.md
Normal file
3
content/archives/2023/10/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Oct
|
||||
---
|
3
content/archives/2023/10/_index.zh-hans.md
Normal file
3
content/archives/2023/10/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十月
|
||||
---
|
3
content/archives/2023/11/_index.md
Normal file
3
content/archives/2023/11/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Nov
|
||||
---
|
3
content/archives/2023/11/_index.zh-hans.md
Normal file
3
content/archives/2023/11/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十一月
|
||||
---
|
3
content/archives/2023/12/_index.md
Normal file
3
content/archives/2023/12/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Dec
|
||||
---
|
3
content/archives/2023/12/_index.zh-hans.md
Normal file
3
content/archives/2023/12/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 十二月
|
||||
---
|
3
content/archives/2023/_index.md
Normal file
3
content/archives/2023/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2023
|
||||
---
|
3
content/archives/2023/_index.zh-hans.md
Normal file
3
content/archives/2023/_index.zh-hans.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: 2023
|
||||
---
|
12
content/archives/_index.md
Normal file
12
content/archives/_index.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Archives
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: archive
|
||||
className: text-primary-emphasis
|
||||
description: Posts archive.
|
||||
---
|
12
content/archives/_index.zh-hans.md
Normal file
12
content/archives/_index.zh-hans.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: 归档
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: archive
|
||||
color: '384955'
|
||||
description: 文章归档。
|
||||
---
|
12
content/authors/_index.md
Normal file
12
content/authors/_index.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Authors
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: pencil
|
||||
color: '#0f5e97'
|
||||
description: Authors list.
|
||||
---
|
12
content/authors/_index.zh-hans.md
Normal file
12
content/authors/_index.zh-hans.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: 作者
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: pencil
|
||||
color: '#0f5e97'
|
||||
description: 作者列表。
|
||||
---
|
11
content/authors/hugomods/_index.en.md
Normal file
11
content/authors/hugomods/_index.en.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Hugo Modules Authors
|
||||
description: Hugo Modules codes and documentations contributors
|
||||
images:
|
||||
- https://avatars.githubusercontent.com/u/128204519?s=200&v=4
|
||||
socials:
|
||||
github: hugomods
|
||||
paypal: razonyang
|
||||
kofi: razonyang
|
||||
gmail: mailto:support@hugomods.com
|
||||
---
|
11
content/authors/hugomods/_index.zh-hans.md
Normal file
11
content/authors/hugomods/_index.zh-hans.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Hugo Modules Authors
|
||||
description: Hugo 模块代码和文档的贡献者
|
||||
images:
|
||||
- https://avatars.githubusercontent.com/u/128204519?s=200&v=4
|
||||
socials:
|
||||
github: hugomods
|
||||
paypal: razonyang
|
||||
kofi: razonyang
|
||||
gmail: mailto:support@hugomods.com
|
||||
---
|
4
content/authors/razonyang/_index.md
Normal file
4
content/authors/razonyang/_index.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Razon Yang
|
||||
email_hash: e7501ec2b3cd95d6af8964743c1d27c7
|
||||
---
|
4
content/authors/razonyang/_index.zh-hans.md
Normal file
4
content/authors/razonyang/_index.zh-hans.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Razon Yang
|
||||
email_hash: e7501ec2b3cd95d6af8964743c1d27c7
|
||||
---
|
11
content/blog/_index.md
Normal file
11
content/blog/_index.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Blog
|
||||
menu:
|
||||
main:
|
||||
identifier: blog
|
||||
weight: 4
|
||||
params:
|
||||
icon:
|
||||
vendor: fas
|
||||
name: blog
|
||||
---
|
11
content/blog/_index.zh-hans.md
Normal file
11
content/blog/_index.zh-hans.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: 博客
|
||||
menu:
|
||||
main:
|
||||
identifier: blog
|
||||
weight: 4
|
||||
params:
|
||||
icon:
|
||||
vendor: fas
|
||||
name: blog
|
||||
---
|
BIN
content/blog/featured-image/featured.jpeg
Normal file
BIN
content/blog/featured-image/featured.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
18
content/blog/featured-image/index.md
Normal file
18
content/blog/featured-image/index.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: "Example Post with an Featured Image"
|
||||
date: 2022-02-04T20:26:48+08:00
|
||||
draft: false
|
||||
featured: true
|
||||
series:
|
||||
- Guide
|
||||
categories:
|
||||
- Posts
|
||||
tags:
|
||||
- Featured Image
|
||||
authors:
|
||||
- razonyang
|
||||
---
|
||||
|
||||
The example post with an featured image.
|
||||
|
||||
<!--more-->
|
18
content/blog/featured-image/index.zh-hans.md
Normal file
18
content/blog/featured-image/index.zh-hans.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: "带有特色图片的示例文章"
|
||||
date: 2022-02-04T20:26:48+08:00
|
||||
draft: false
|
||||
featured: true
|
||||
series:
|
||||
- 指南
|
||||
categories:
|
||||
- 文章
|
||||
tags:
|
||||
- 特色图片
|
||||
authors:
|
||||
- razonyang
|
||||
---
|
||||
|
||||
一篇带有特色图片的示例文章。
|
||||
|
||||
<!--more-->
|
7
content/blog/featured-post-without-image.md
Normal file
7
content/blog/featured-post-without-image.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Featured Post without Image
|
||||
Featured: true
|
||||
date: 2022-09-10
|
||||
---
|
||||
|
||||
A sample for showing how carousel handle featured posts that without images.
|
7
content/blog/featured-post-without-image.zh-hans.md
Normal file
7
content/blog/featured-post-without-image.zh-hans.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Featured Post without Image
|
||||
Featured: true
|
||||
date: 2022-09-10
|
||||
---
|
||||
|
||||
A sample for showing how carousel handle featured posts that without images.
|
BIN
content/blog/tutorial/feature.jpg
Normal file
BIN
content/blog/tutorial/feature.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 KiB |
123
content/blog/tutorial/index.md
Normal file
123
content/blog/tutorial/index.md
Normal file
@ -0,0 +1,123 @@
|
||||
---
|
||||
title: "Tutorial"
|
||||
# linkTitle:
|
||||
date: 2023-03-31T11:47:31+08:00
|
||||
draft: false
|
||||
description:
|
||||
noindex: false
|
||||
pinned: true
|
||||
nav_weight: 1000
|
||||
# nav_icon:
|
||||
# vendor: bootstrap
|
||||
# name: toggles
|
||||
# color: '#e24d0e'
|
||||
series:
|
||||
- Tutorial
|
||||
categories:
|
||||
- Content
|
||||
tags:
|
||||
- Shortcode
|
||||
- Code Block
|
||||
- KaTex
|
||||
- Mermaid
|
||||
- Math
|
||||
- Diagram
|
||||
images:
|
||||
# menu:
|
||||
# main:
|
||||
# weight: 100
|
||||
# params:
|
||||
# icon:
|
||||
# vendor: bs
|
||||
# name: book
|
||||
# color: '#e24d0e'
|
||||
authors:
|
||||
- razonyang
|
||||
- hugomods
|
||||
---
|
||||
|
||||
A simple tutorial that offers samples and code snippets show how to create rich content, please refer to the [documentations](https://hbstack.dev/en/) for more usage.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Installation
|
||||
|
||||
**Please note that this theme requires Go installation the newest extended Hugo version.**
|
||||
|
||||
Please check out the [installation](https://hbstack.dev/en/docs/getting-started/installation/) section.
|
||||
|
||||
## Create Content
|
||||
|
||||
```sh
|
||||
hugo new blog/new-post/index.md
|
||||
```
|
||||
|
||||
The created content is in draft stage, you'll need to publish the content by removing the `draft` or setting the `draft` as `true` on front matter. Learn on on [content](https://hbstack.dev/en/docs/content/).
|
||||
|
||||
## Code Block
|
||||
|
||||
````markdown
|
||||
```[lang]
|
||||
CODE
|
||||
```
|
||||
````
|
||||
|
||||
{{% bootstrap/collapse "[lang]" %}}
|
||||
Replace `[lang]` with corresponding language identifier, such as `js`, `php`, `go`, `html` and so on.
|
||||
{{% /bootstrap/collapse %}}
|
||||
|
||||
```js
|
||||
console.log('Hello world!')
|
||||
```
|
||||
|
||||
### Code Syntax Highlighting Styles
|
||||
|
||||
HB offers dozens of syntax highlighting styles, find more on [syntax highlighting styles modules](https://hbstack.dev/en/docs/modules/syntax-highlighting/).
|
||||
|
||||
Import the desired style module and restart the Hugo server (load module's assets fully) to preview.
|
||||
|
||||
{{< bootstrap/config-toggle hugo >}}
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/hbstack/syntax-highlighting/styles/github-dark
|
||||
{{< /bootstrap/config-toggle >}}
|
||||
|
||||
## KaTex
|
||||
|
||||
````markdown
|
||||
```katex
|
||||
MATH
|
||||
```
|
||||
````
|
||||
|
||||
```katex
|
||||
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
||||
```
|
||||
|
||||
Read more on [KaTex Usage](https://hugomods.com/en/docs/content/katex/#usage).
|
||||
|
||||
## Mermaid
|
||||
|
||||
````markdown
|
||||
```mermaid
|
||||
DIAGRAM
|
||||
```
|
||||
````
|
||||
|
||||
```mermaid
|
||||
graph TD;
|
||||
A-->B;
|
||||
A-->C;
|
||||
B-->D;
|
||||
C-->D;
|
||||
```
|
||||
|
||||
Read more on [Mermaid Usage](https://hugomods.com/en/docs/content/mermaid/#usage).
|
||||
|
||||
## Shortcodes
|
||||
|
||||
Learn more on [shortcodes](https://hbstack.dev/en/docs/content/shortcodes/).
|
||||
|
||||
## Deployment
|
||||
|
||||
See [deployment](https://hbstack.dev/en/docs/deployment/) for deploying your site.
|
130
content/blog/tutorial/index.zh-hans.md
Normal file
130
content/blog/tutorial/index.zh-hans.md
Normal file
@ -0,0 +1,130 @@
|
||||
---
|
||||
title: "指南"
|
||||
# linkTitle:
|
||||
date: 2023-03-31T11:47:31+08:00
|
||||
draft: false
|
||||
description:
|
||||
noindex: false
|
||||
pinned: true
|
||||
nav_weight: 1000
|
||||
# nav_icon:
|
||||
# vendor: bootstrap
|
||||
# name: toggles
|
||||
# color: '#e24d0e'
|
||||
series:
|
||||
- Tutorial
|
||||
categories:
|
||||
- Content
|
||||
tags:
|
||||
- Shortcode
|
||||
- Code Block
|
||||
- KaTex
|
||||
- Mermaid
|
||||
- Math
|
||||
- Diagram
|
||||
images:
|
||||
# menu:
|
||||
# main:
|
||||
# weight: 100
|
||||
# params:
|
||||
# icon:
|
||||
# vendor: bs
|
||||
# name: book
|
||||
# color: '#e24d0e'
|
||||
authors:
|
||||
- razonyang
|
||||
- hugomods
|
||||
---
|
||||
|
||||
本教程提供简单的示例和代码段,以展示如何创建富文本,更多用法请查阅[文档](https://hbstack.dev/zh-hans/)。
|
||||
|
||||
<!--more-->
|
||||
|
||||
## 安装
|
||||
|
||||
**请注意本主题需要安装 Go 和最新的扩展版 Hugo。**
|
||||
|
||||
详情请阅读[安装](https://hbstack.dev/zh-hans/docs/getting-started/installation)一文。
|
||||
|
||||
## 新增内容
|
||||
|
||||
```sh
|
||||
hugo new blog/new-post/index.md
|
||||
```
|
||||
|
||||
新创建的内容处于草稿状态,发布时需要移除 `draft`参数或者将其设为 `false`。
|
||||
|
||||
{{< bootstrap/alert >}}
|
||||
{{% markdownify %}}
|
||||
请指定 `--buildDrafts` (`-D`) 标识以预览草稿,如 `hugo server --gc -D --disableFastRender`。
|
||||
> **npm run dev** 默认会构建草稿内容。
|
||||
{{% /markdownify %}}
|
||||
{{< /bootstrap/alert >}}
|
||||
|
||||
## 代码块
|
||||
|
||||
````markdown
|
||||
```[lang]
|
||||
CODE
|
||||
```
|
||||
````
|
||||
|
||||
{{% bootstrap/collapse "[lang]" %}}
|
||||
请将 `[lang]` 替换为对应的语言标识,如 `js`、`php`、`go`、`html` 等。
|
||||
{{% /bootstrap/collapse %}}
|
||||
|
||||
```js
|
||||
console.log('Hello world!')
|
||||
```
|
||||
|
||||
### 代码高亮样式
|
||||
|
||||
HB 提供了数十个代码高亮样式,详情请参阅[代码高亮样式模块](https://hbstack.dev/zh-hans/docs/modules/syntax-highlighting/)。
|
||||
|
||||
导入对应的样式模块,并重启 Hugo 服务器以完整地载入模块的资源。
|
||||
|
||||
{{< bootstrap/config-toggle hugo >}}
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/hbstack/syntax-highlighting/styles/github-dark
|
||||
{{< /bootstrap/config-toggle >}}
|
||||
|
||||
## KaTex
|
||||
|
||||
````markdown
|
||||
```katex
|
||||
MATH
|
||||
```
|
||||
````
|
||||
|
||||
```katex
|
||||
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
||||
```
|
||||
|
||||
Read more on [KaTex Usage](https://hugomods.com/en/docs/content/katex/#usage).
|
||||
|
||||
## Mermaid
|
||||
|
||||
````markdown
|
||||
```mermaid
|
||||
DIAGRAM
|
||||
```
|
||||
````
|
||||
|
||||
```mermaid
|
||||
graph TD;
|
||||
A-->B;
|
||||
A-->C;
|
||||
B-->D;
|
||||
C-->D;
|
||||
```
|
||||
|
||||
Read more on [Mermaid Usage](https://hugomods.com/en/docs/content/mermaid/#usage).
|
||||
|
||||
## 短代码
|
||||
|
||||
详情请参阅[短代码](https://hbstack.dev/zh-hans/docs/content/shortcodes/)。
|
||||
|
||||
## 部署
|
||||
|
||||
领请参阅[部署](https://hbstack.dev/zh-hans/docs/deployment/)以部署你的站点。
|
12
content/categories/_index.md
Normal file
12
content/categories/_index.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Categories
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: folder
|
||||
color: orange
|
||||
description: All of categories.
|
||||
---
|
12
content/categories/_index.zh-hans.md
Normal file
12
content/categories/_index.zh-hans.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: 分类
|
||||
menu:
|
||||
main:
|
||||
parent: blog
|
||||
params:
|
||||
icon:
|
||||
vendor: bs
|
||||
name: folder
|
||||
color: orange
|
||||
description: 所有分类。
|
||||
---
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user