This commit is contained in:
renovate[bot]
2024-03-22 07:08:22 +00:00
committed by sevi-kun
commit 90efe6738e
204 changed files with 4407 additions and 0 deletions

11
content/_index.md Normal file
View 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
View File

@ -0,0 +1,11 @@
---
title: HB 主题模板
# menu:
# main:
# name: 主页
# weight: 1
# params:
# icon:
# vendor: bs
# name: house
---

View File

@ -0,0 +1,3 @@
---
title: "Jan"
---

View File

@ -0,0 +1,3 @@
---
title: "一月"
---

View File

@ -0,0 +1,3 @@
---
title: "Feb"
---

View File

@ -0,0 +1,3 @@
---
title: "二月"
---

View File

@ -0,0 +1,3 @@
---
title: Mar
---

View File

@ -0,0 +1,3 @@
---
title: 三月
---

View File

@ -0,0 +1,3 @@
---
title: Apr
---

View File

@ -0,0 +1,3 @@
---
title: 四月
---

View File

@ -0,0 +1,3 @@
---
title: May
---

View File

@ -0,0 +1,3 @@
---
title: 五月
---

View File

@ -0,0 +1,3 @@
---
title: Jun
---

View File

@ -0,0 +1,3 @@
---
title: 六月
---

View File

@ -0,0 +1,3 @@
---
title: July
---

View File

@ -0,0 +1,3 @@
---
title: 七月
---

View File

@ -0,0 +1,3 @@
---
title: Aug
---

View File

@ -0,0 +1,3 @@
---
title: 八月
---

View File

@ -0,0 +1,3 @@
---
title: Sep
---

View File

@ -0,0 +1,3 @@
---
title: 九月
---

View File

@ -0,0 +1,3 @@
---
title: Oct
---

View File

@ -0,0 +1,3 @@
---
title: 十月
---

View File

@ -0,0 +1,3 @@
---
title: Nov
---

View File

@ -0,0 +1,3 @@
---
title: 十一月
---

View File

@ -0,0 +1,3 @@
---
title: Dec
---

View File

@ -0,0 +1,3 @@
---
title: 十二月
---

View File

@ -0,0 +1,3 @@
---
title: 2021
---

View File

@ -0,0 +1,3 @@
---
title: 2021
---

View File

@ -0,0 +1,3 @@
---
title: "Jan"
---

View File

@ -0,0 +1,3 @@
---
title: "一月"
---

View File

@ -0,0 +1,3 @@
---
title: "Feb"
---

View File

@ -0,0 +1,3 @@
---
title: "二月"
---

View File

@ -0,0 +1,3 @@
---
title: Mar
---

View File

@ -0,0 +1,3 @@
---
title: 三月
---

View File

@ -0,0 +1,3 @@
---
title: Apr
---

View File

@ -0,0 +1,3 @@
---
title: 四月
---

View File

@ -0,0 +1,3 @@
---
title: May
---

View File

@ -0,0 +1,3 @@
---
title: 五月
---

View File

@ -0,0 +1,3 @@
---
title: Jun
---

View File

@ -0,0 +1,3 @@
---
title: 六月
---

View File

@ -0,0 +1,3 @@
---
title: July
---

View File

@ -0,0 +1,3 @@
---
title: 七月
---

View File

@ -0,0 +1,3 @@
---
title: Aug
---

View File

@ -0,0 +1,3 @@
---
title: 八月
---

View File

@ -0,0 +1,3 @@
---
title: Sep
---

View File

@ -0,0 +1,3 @@
---
title: 九月
---

View File

@ -0,0 +1,3 @@
---
title: Oct
---

View File

@ -0,0 +1,3 @@
---
title: 十月
---

View File

@ -0,0 +1,3 @@
---
title: Nov
---

View File

@ -0,0 +1,3 @@
---
title: 十一月
---

View File

@ -0,0 +1,3 @@
---
title: Dec
---

View File

@ -0,0 +1,3 @@
---
title: 十二月
---

View File

@ -0,0 +1,3 @@
---
title: 2022
---

View File

@ -0,0 +1,3 @@
---
title: 2022
---

View File

@ -0,0 +1,3 @@
---
title: "Jan"
---

View File

@ -0,0 +1,3 @@
---
title: "一月"
---

View File

@ -0,0 +1,3 @@
---
title: "Feb"
---

View File

@ -0,0 +1,3 @@
---
title: "二月"
---

View File

@ -0,0 +1,3 @@
---
title: Mar
---

View File

@ -0,0 +1,3 @@
---
title: 三月
---

View File

@ -0,0 +1,3 @@
---
title: Apr
---

View File

@ -0,0 +1,3 @@
---
title: 四月
---

View File

@ -0,0 +1,3 @@
---
title: May
---

View File

@ -0,0 +1,3 @@
---
title: 五月
---

View File

@ -0,0 +1,3 @@
---
title: Jun
---

View File

@ -0,0 +1,3 @@
---
title: 六月
---

View File

@ -0,0 +1,3 @@
---
title: July
---

View File

@ -0,0 +1,3 @@
---
title: 七月
---

View File

@ -0,0 +1,3 @@
---
title: Aug
---

View File

@ -0,0 +1,3 @@
---
title: 八月
---

View File

@ -0,0 +1,3 @@
---
title: Sep
---

View File

@ -0,0 +1,3 @@
---
title: 九月
---

View File

@ -0,0 +1,3 @@
---
title: Oct
---

View File

@ -0,0 +1,3 @@
---
title: 十月
---

View File

@ -0,0 +1,3 @@
---
title: Nov
---

View File

@ -0,0 +1,3 @@
---
title: 十一月
---

View File

@ -0,0 +1,3 @@
---
title: Dec
---

View File

@ -0,0 +1,3 @@
---
title: 十二月
---

View File

@ -0,0 +1,3 @@
---
title: 2023
---

View File

@ -0,0 +1,3 @@
---
title: 2023
---

View File

@ -0,0 +1,12 @@
---
title: Archives
menu:
main:
parent: blog
params:
icon:
vendor: bs
name: archive
className: text-primary-emphasis
description: Posts archive.
---

View 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
View File

@ -0,0 +1,12 @@
---
title: Authors
menu:
main:
parent: blog
params:
icon:
vendor: bs
name: pencil
color: '#0f5e97'
description: Authors list.
---

View File

@ -0,0 +1,12 @@
---
title: 作者
menu:
main:
parent: blog
params:
icon:
vendor: bs
name: pencil
color: '#0f5e97'
description: 作者列表。
---

View 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
---

View 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
---

View File

@ -0,0 +1,4 @@
---
title: Razon Yang
email_hash: e7501ec2b3cd95d6af8964743c1d27c7
---

View File

@ -0,0 +1,4 @@
---
title: Razon Yang
email_hash: e7501ec2b3cd95d6af8964743c1d27c7
---

11
content/blog/_index.md Normal file
View File

@ -0,0 +1,11 @@
---
title: Blog
menu:
main:
identifier: blog
weight: 4
params:
icon:
vendor: fas
name: blog
---

View File

@ -0,0 +1,11 @@
---
title: 博客
menu:
main:
identifier: blog
weight: 4
params:
icon:
vendor: fas
name: blog
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View 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-->

View File

@ -0,0 +1,18 @@
---
title: "带有特色图片的示例文章"
date: 2022-02-04T20:26:48+08:00
draft: false
featured: true
series:
- 指南
categories:
- 文章
tags:
- 特色图片
authors:
- razonyang
---
一篇带有特色图片的示例文章。
<!--more-->

View 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.

View 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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

View 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.

View 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/)以部署你的站点。

View File

@ -0,0 +1,12 @@
---
title: Categories
menu:
main:
parent: blog
params:
icon:
vendor: bs
name: folder
color: orange
description: All of categories.
---

View 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