mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Used leading slash more consistently
This commit is contained in:
parent
d06ebc98e1
commit
7fd42af3b1
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ whenever a specific file is not present.
|
|||
*Remember, all of the following are optional:*
|
||||
|
||||
### 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 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
|
||||
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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue