在 Hugo 文档中,`⊢--^-⊣` 和类似的是什么意思?
In Hugo documentation, what is meant by `⊢--^-⊣` and similar?
在 Hugo 文档中,我有时会看到这样的代码块:
You can keep one _index.md for your homepage and one in each of your
content sections, taxonomies, and taxonomy terms. The following shows
typical placement of an _index.md that would contain content and front
matter for a posts section list page on a Hugo website:
. url
. ⊢--^-⊣
. path slug
. ⊢--^-⊣⊢---^---⊣
. filepath
. ⊢------^------⊣
content/posts/_index.md
这里说的是什么? "the following" 是指目录结构吗?那是一个文件(哪个文件?)实际上看起来像什么? url
和 path
等词是否是某种变量,被 |---^--|
"pointed to"?或者破折号语法是实际代码,并且 ⊢--^-⊣
在人类可读的术语中表示 "URL" ?
Hugo文档中的-
、|
、^
、||
语法是什么意思?
他们使用破折号语法试图解释(不是很清楚)目录结构。
url = /posts/
slug = _index.md
filepath = /posts/_index.md
-
、|
、^
、||
严格用于说明url结构,仅此而已
在 Hugo 文档中,我有时会看到这样的代码块:
You can keep one _index.md for your homepage and one in each of your content sections, taxonomies, and taxonomy terms. The following shows typical placement of an _index.md that would contain content and front matter for a posts section list page on a Hugo website:
. url
. ⊢--^-⊣
. path slug
. ⊢--^-⊣⊢---^---⊣
. filepath
. ⊢------^------⊣
content/posts/_index.md
这里说的是什么? "the following" 是指目录结构吗?那是一个文件(哪个文件?)实际上看起来像什么? url
和 path
等词是否是某种变量,被 |---^--|
"pointed to"?或者破折号语法是实际代码,并且 ⊢--^-⊣
在人类可读的术语中表示 "URL" ?
Hugo文档中的-
、|
、^
、||
语法是什么意思?
他们使用破折号语法试图解释(不是很清楚)目录结构。
url = /posts/
slug = _index.md
filepath = /posts/_index.md
-
、|
、^
、||
严格用于说明url结构,仅此而已