This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
114 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": [ | ||
"gitmodules" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
title: '{{ replace .File.ContentBaseName "-" " " | title }}' | ||
title: {{ replace .File.ContentBaseName "-" " " | title }} | ||
date: {{ .Date }} | ||
draft: true | ||
author: JackyLee | ||
tags: ["未分类"] | ||
categories: ["未分类"] | ||
tags: [未分类] | ||
categories: [未分类] | ||
comments: true | ||
--- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Hugo 工作流 | ||
date: 2024-04-03T17:20:20+08:00 | ||
draft: true | ||
author: JackyLee | ||
tags: [hugo, go] | ||
categories: [工作流] | ||
comments: true | ||
--- | ||
|
||
## Huge 发布工作流 | ||
|
||
### 第一步:生成文章模板 | ||
|
||
```shell | ||
hugo new --kind <archetypes> <path/to/post>/index.md | ||
# 例如 | ||
hugo new --kind post path/to/post/index.md | ||
``` | ||
|
||
### 第二步:修改 tags 和 categories | ||
|
||
```yaml | ||
tags: [] | ||
categories: [] | ||
``` | ||
### 第三步:创作 | ||
写文章 | ||
### 第四步:提交 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ author: JackyLee | |
comments: true | ||
--- | ||
|
||
非常欢迎来到我的博客 | ||
欢迎来到我的博客 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters