mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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 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`*.
|
||||||
|
|
||||||
### Create list template
|
|
||||||
Create a file called `list.html` inside your directory. *E.g. `/layouts/post/list.html`*.
|
|
||||||
|
|
||||||
### Create views
|
### Create views
|
||||||
Many sites support rendering content in a few different ways, for instance,
|
Many sites support rendering content in a few different ways, for
|
||||||
a single page view and a summary view to be used when displaying a list
|
instance, a single page view and a summary view to be used when
|
||||||
of contents on a single page. Hugo makes no assumptions here about how you want
|
displaying a [list of contents on a single page](/templates/list).
|
||||||
to display your content, and will support as many different views of a content
|
Hugo makes no assumptions here about how you want to display your
|
||||||
type as your site requires. All that is required for these additional views is
|
content, and will support as many different views of a content type
|
||||||
that a template exists in each `/layouts/TYPE` directory with the same name.
|
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
|
### Create a corresponding archetype
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue