mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
content: Enhance content view template details
This commit is contained in:
@@ -318,6 +318,7 @@ A _content view_ template is similar to a _partial_ template, invoked by calling
|
||||
|
||||
- Inherit the context of the current page
|
||||
- Can target any page kind, content type, logical path, language, or output format
|
||||
- Can reside at any level within the `layouts` directory
|
||||
|
||||
For example, Hugo applies a _base_ template to the _home_ template below, then renders the page content and a card component for each page within the "films" section of your site.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user