Skip to content

Files

Latest commit

4b7a985 · Sep 29, 2020

History

History
This branch is 1 commit ahead of, 52592 commits behind github/docs:main.

includes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 27, 2020
Sep 27, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 27, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Sep 27, 2020
Sep 27, 2020
Sep 27, 2020
Sep 27, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020

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.