1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/includes
Kevin Heis a017660a76 Include header/footer components across layout types (#18377)
* Flesh out our layouts to include header/footer components across layout types

* Update contribution.html

* Remove extra line that we don't need when we have the gray section
2021-03-25 10:01:13 -07: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

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.