1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/includes
Abby Vollmer f5a2c56de6 Project Visby site-policy updates (change date + hide from GitHub Docs) (#17139)
and support site policy hidden articles
2021-01-07 22:44:34 +00:00
..
2020-12-18 15:08:07 -05:00
2020-12-22 01:09:59 +02:00
2020-11-16 20:32:11 -05: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-11-03 13:50:02 -05:00
2020-10-12 00:39:12 +03: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.