mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Add missing backtick in templates/views.md
This commit is contained in:
1 parent
bf88e772e4
commit
816d207f07
1 file changed
+1
-1
@@ -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/
|
||||||
|
|||||||
Reference in new issue
Block a user