mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 14:44:43 -04:00
Add missing backtick in templates/views.md
This commit is contained in:
parent
bf88e772e4
commit
816d207f07
@ -27,7 +27,7 @@ The following are common use cases for content views:
|
|||||||
|
|
||||||
## Create a Content View
|
## Create a Content View
|
||||||
|
|
||||||
To create a new view, create a template in each of your different content type directories with the view name. The following example contains an "li" view and a "summary" view for the `post` and `project` content types. As you can see, these sit next to the [single content view][single] template, `single.html. You can even provide a specific view for a given type and continue to use the `_default/single.html` for the primary view.
|
To create a new view, create a template in each of your different content type directories with the view name. The following example contains an "li" view and a "summary" view for the `post` and `project` content types. As you can see, these sit next to the [single content view][single] template, `single.html`. You can even provide a specific view for a given type and continue to use the `_default/single.html` for the primary view.
|
||||||
|
|
||||||
```
|
```
|
||||||
▾ layouts/
|
▾ layouts/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user