In Hugo documentation, what is meant by `⊢--^-⊣` and similar?
In the Hugo documentation, I sometimes see code blocks that look like this:
Organization docs
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
What is being said, here? Is "the following" referring to a directory structure? Is that what a file (which file?) would actually look like? Is the url
and path
etc words some sort of variables, that are being "pointed to" by the |---^--|
? Or is the dash caret syntax actual code, and ⊢--^-⊣
means "URL" in human-readable terms?
What does the -
, |
, ^
, ||
syntax mean in the Hugo docs?
hugo
add a comment |
In the Hugo documentation, I sometimes see code blocks that look like this:
Organization docs
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
What is being said, here? Is "the following" referring to a directory structure? Is that what a file (which file?) would actually look like? Is the url
and path
etc words some sort of variables, that are being "pointed to" by the |---^--|
? Or is the dash caret syntax actual code, and ⊢--^-⊣
means "URL" in human-readable terms?
What does the -
, |
, ^
, ||
syntax mean in the Hugo docs?
hugo
add a comment |
In the Hugo documentation, I sometimes see code blocks that look like this:
Organization docs
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
What is being said, here? Is "the following" referring to a directory structure? Is that what a file (which file?) would actually look like? Is the url
and path
etc words some sort of variables, that are being "pointed to" by the |---^--|
? Or is the dash caret syntax actual code, and ⊢--^-⊣
means "URL" in human-readable terms?
What does the -
, |
, ^
, ||
syntax mean in the Hugo docs?
hugo
In the Hugo documentation, I sometimes see code blocks that look like this:
Organization docs
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
What is being said, here? Is "the following" referring to a directory structure? Is that what a file (which file?) would actually look like? Is the url
and path
etc words some sort of variables, that are being "pointed to" by the |---^--|
? Or is the dash caret syntax actual code, and ⊢--^-⊣
means "URL" in human-readable terms?
What does the -
, |
, ^
, ||
syntax mean in the Hugo docs?
hugo
hugo
asked Jan 3 at 19:52
Caleb JayCaleb Jay
692823
692823
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
They are using the dash caret syntax as a attempt to explain(not clearly) the directory structure.
url = /posts/
slug = _index.md
filepath = /posts/_index.md
The -
, |
, ^
, ||
are strictly used to illustrate the url structure and nothing more
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54028912%2fin-hugo-documentation-what-is-meant-by-%25e2%258a%25a2-%25e2%258a%25a3-and-similar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
They are using the dash caret syntax as a attempt to explain(not clearly) the directory structure.
url = /posts/
slug = _index.md
filepath = /posts/_index.md
The -
, |
, ^
, ||
are strictly used to illustrate the url structure and nothing more
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
add a comment |
They are using the dash caret syntax as a attempt to explain(not clearly) the directory structure.
url = /posts/
slug = _index.md
filepath = /posts/_index.md
The -
, |
, ^
, ||
are strictly used to illustrate the url structure and nothing more
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
add a comment |
They are using the dash caret syntax as a attempt to explain(not clearly) the directory structure.
url = /posts/
slug = _index.md
filepath = /posts/_index.md
The -
, |
, ^
, ||
are strictly used to illustrate the url structure and nothing more
They are using the dash caret syntax as a attempt to explain(not clearly) the directory structure.
url = /posts/
slug = _index.md
filepath = /posts/_index.md
The -
, |
, ^
, ||
are strictly used to illustrate the url structure and nothing more
answered Jan 3 at 22:24
I. JohnsonI. Johnson
1687
1687
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
add a comment |
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
I sense you are correct, however, even with your elucidation, the content is totally incomprehensible to me... I genuinely cannot understand what I am looking at here.
– Caleb Jay
Jan 3 at 22:33
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
OH, so, hold on, both the URL and the PATH are "/posts/"?
– Caleb Jay
Jan 3 at 22:35
1
1
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
yes, they have two names for it. They also refer to it as ''section" 'which would not include the forward slashes 'posts'
– I. Johnson
Jan 3 at 22:39
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54028912%2fin-hugo-documentation-what-is-meant-by-%25e2%258a%25a2-%25e2%258a%25a3-and-similar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown