mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 12:04:40 -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
|
||||
|
||||
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/
|
||||
@ -118,4 +118,4 @@ Continuing on the previous example, we can change our render function to use a s
|
||||
[spfsourcesection]: https://github.com/spf13/spf13.com/blob/master/layouts/_default/section.html
|
||||
[spfsourcesummary]: https://github.com/spf13/spf13.com/blob/master/layouts/_default/summary.html
|
||||
[summaries]: /content-management/summaries/
|
||||
[taxonomylists]: /templates/taxonomy-templates/
|
||||
[taxonomylists]: /templates/taxonomy-templates/
|
||||
|
Loading…
x
Reference in New Issue
Block a user