mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Used leading slash more consistently
This commit is contained in:
@@ -54,7 +54,7 @@ whenever a specific file is not present.
|
|||||||
*Remember, all of the following are optional:*
|
*Remember, all of the following are optional:*
|
||||||
|
|
||||||
### Create Type Directory
|
### Create Type Directory
|
||||||
Create a directory with the name of the type in `layouts`. Type is always singular. *E.g. `/layouts/post`*.
|
Create a directory with the name of the type in `/layouts`. Type is always singular. *E.g. `/layouts/post`*.
|
||||||
|
|
||||||
### Create single template
|
### Create single template
|
||||||
Create a file called `single.html` inside your directory. *E.g. `/layouts/post/single.html`*.
|
Create a file called `single.html` inside your directory. *E.g. `/layouts/post/single.html`*.
|
||||||
@@ -68,7 +68,7 @@ a single page view and a summary view to be used when displaying a list
|
|||||||
of contents on a single page. Hugo makes no assumptions here about how you want
|
of contents on a single page. Hugo makes no assumptions here about how you want
|
||||||
to display your content, and will support as many different views of a content
|
to display your content, and will support as many different views of a content
|
||||||
type as your site requires. All that is required for these additional views is
|
type as your site requires. All that is required for these additional views is
|
||||||
that a template exists in each `layouts/TYPE` directory with the same name.
|
that a template exists in each `/layouts/TYPE` directory with the same name.
|
||||||
|
|
||||||
### Create a corresponding archetype
|
### Create a corresponding archetype
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user