Single object
List of single object
-
Single object: List of single object
-
Static content: Insert the rendered content of another template within the current template with just static content (no variables).
-
Create variables: variables created in parent’s scope can be passed to the partial template by listing them as parameters on the render tag.
-
Frontmatter datas: An example with the render tag and some datas declared in the frontmatter of this file.
-
Global JSON variables: globals don’t need to be passed down, they are accessible from all files. One or more objects can be passed to a template.
-
Passing JSON variables: variables defined in parent’s scope can be passed to the partial template by listing them as parameters on the render tag.
-
JSON variables: a single object can be passed to a snippet by using the with...as syntax.
-
Simple array: An example with the render tag and some datas declared in a variable.