mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
change about
This commit is contained in:
parent
6239ef10ee
commit
21d6b82cb7
37
exampleSite/content/post/1README/README.md
Normal file
37
exampleSite/content/post/1README/README.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
这个文件加中放文章,每篇文章都要放入到一个文件加中。
|
||||||
|
|
||||||
|
下面我们来一个例子:
|
||||||
|
|
||||||
|
比如说:我们想写一篇名为数据结构的文章:
|
||||||
|
|
||||||
|
我可以创建一个文件夹:Date-Struct(这个名字随便起,只要是英文的就好,然后没有固定格式,中间那个-可以加也可以不加)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
然后,我们进入Date-Struct文件加创建两个文件index.md与index.zh-cn.md
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
下面我来写一个示例:
|
||||||
|
|
||||||
|
```
|
||||||
|
+++
|
||||||
|
author = "文章作者"
|
||||||
|
title = "文章标题"
|
||||||
|
date = "文章日期"
|
||||||
|
description = "对文章的简单描述."
|
||||||
|
tags = [
|
||||||
|
"底部标签",
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"文章分类",
|
||||||
|
]
|
||||||
|
image = "文章宣传图片"
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
# 正文开始
|
||||||
|
```
|
BIN
exampleSite/content/post/1README/图片/1698854881951.png
Normal file
BIN
exampleSite/content/post/1README/图片/1698854881951.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
exampleSite/content/post/1README/图片/1698855011986.png
Normal file
BIN
exampleSite/content/post/1README/图片/1698855011986.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
19
exampleSite/content/post/Date-Struct/index.md
Normal file
19
exampleSite/content/post/Date-Struct/index.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
+++
|
||||||
|
author = "Wxn"
|
||||||
|
title = "英文测试"
|
||||||
|
date = "2023-11-02"
|
||||||
|
description = "对文章的简单描述."
|
||||||
|
tags = [
|
||||||
|
"底部标签",
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"文章分类",
|
||||||
|
]
|
||||||
|
image = "test.png"
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
# 正文开始
|
19
exampleSite/content/post/Date-Struct/index.zh-cn.md
Normal file
19
exampleSite/content/post/Date-Struct/index.zh-cn.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
+++
|
||||||
|
author = "Wxn"
|
||||||
|
title = "中文测试"
|
||||||
|
date = "2023-11-02"
|
||||||
|
description = "对文章的简单描述."
|
||||||
|
tags = [
|
||||||
|
"底部标签",
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"文章分类",
|
||||||
|
]
|
||||||
|
image = "test.png"
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
# 正文开始
|
BIN
exampleSite/content/post/Date-Struct/test.png
Normal file
BIN
exampleSite/content/post/Date-Struct/test.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Loading…
Reference in New Issue
Block a user