mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 17:51:54 +00:00
docs: Remove incorrent reference to list.html
This commit is contained in:
parent
93e41a1fb2
commit
6a3a6f683d
1 changed files with 8 additions and 9 deletions
|
@ -60,16 +60,15 @@ Create a directory with the name of the type in `/layouts`. Type is always singu
|
|||
### Create single template
|
||||
Create a file called `single.html` inside your directory. *E.g. `/layouts/post/single.html`*.
|
||||
|
||||
### Create list template
|
||||
Create a file called `list.html` inside your directory. *E.g. `/layouts/post/list.html`*.
|
||||
|
||||
### Create views
|
||||
Many sites support rendering content in a few different ways, for instance,
|
||||
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.
|
||||
Many sites support rendering content in a few different ways, for
|
||||
instance, a single page view and a summary view to be used when
|
||||
displaying a [list of contents on a single page](/templates/list).
|
||||
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.
|
||||
|
||||
### Create a corresponding archetype
|
||||
|
||||
|
|
Loading…
Reference in a new issue