Partials

Content still missing. Please help by copying it from the old site and converting it to markdown.

Turndown can be a great help converting the HTML of the old page to Markdown.

Open in interactive playground!
Template
{{>header}}
<hr/>
{{#each persons}}
{{>person person=.}}
{{/each}}
header
{{persons.length}} persons found
person
The person {{person.name}} is {{person.age}} years old.
Input
{
  persons: [
    { name: "Nils", age: 20 },
    { name: "Teddy", age: 10 },
    { name: "Nelson", age: 40 }
  ]
}
Output
3 persons found
<hr/>
The person Nils is 20 years old.
The person Teddy is 10 years old.
The person Nelson is 40 years old.

Inline partials