Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
18 lines
367 B
Markdown
18 lines
367 B
Markdown
# 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. |