1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Files
docs/includes
Kevin Heis 2fb2e962bc Move site search to use an endpoint (#17359)
* Move site search to use an endpoint

* Update browser.js

* Update search.js

* Update lib/search/versions.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Fix URLs

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-01-20 15:37:42 +00:00
..
2020-12-18 15:08:07 -05:00
2020-09-27 14:10:11 +02:00
2021-01-14 15:04:52 -05: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
2021-01-14 15:08:00 -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.