1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/includes
Jason Etcovitch ff9a712284 Uncomment the contribute CTA (#15901)
Co-authored-by: Zeke Sikelianos <zeke@sikelianos.com>
2020-10-07 09:32:40 -07:00
..
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00

Includes

The files in this directory are "includes", snippets of HTML that can be reused in multiple layouts or pages. In Ruby on Rails parlance, these are called "partials".

Using Includes

This example injects the contents of includes/header.html into the page:

{% include header %}

Writing Includes

Includes must have a .html extension.