* initial documentation changes * editing layouts terminology * update to match other files * move javascripts to components/lib * fix: dockerfile * update based on Mikes updates to the javascripts directory * update components/README.md Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
18 lines
379 B
Markdown
18 lines
379 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/graphql-enum.html` into the
|
|
page:
|
|
|
|
```
|
|
{% include graphql-enum %}
|
|
```
|
|
|
|
## Writing Includes
|
|
|
|
Includes must have a `.html` extension. |