Partials Partials are reusable pieces of markup you can include in pages, layouts, and other partials. Any `_name.jsx` or `_name.tmpl` file that isn't one of the special files above is a partial, and so is any `.jsx` or `.tmpl` file inside an `_`-prefixed folder. Most sites keep them together in a root `_partials/` folder, where the files don't need their own underscore. Include a partial from JSX with its path from the site root, without the extension: ```jsx {partial("_partials/footer")} ``` A navigation partial: ```jsx // _partials/nav.jsx
``` A partial can be a plain element, as above, or a function. Arguments after the name are passed to the function: ```jsx // _partials/card.jsx (post, showDate = true) =>