Build reusable structures

Overview

Use template partials to factor out repeated content and layouts, making large or long-lived projects easier to maintain and evolve.

Open slides in fullscreen

Learning Objectives

By the end of this module, you will be able to:

  • Explain the role of template partials in Quarto documents and how they differ from full template overrides.
  • Locate and reference partial files in an existing Quarto template.
  • Use Pandoc’s template syntax ($title$, $if$) to render document metadata, including custom fields, in a partial.