Skip to content

Files

Latest commit

5978edb · May 20, 2021

History

History
This branch is 45224 commits behind github/docs:main.

includes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 13, 2021
Sep 27, 2020
Apr 28, 2021
May 10, 2021
Apr 30, 2021
Apr 26, 2021
Apr 21, 2021
May 20, 2021
May 18, 2021
Apr 13, 2021
May 11, 2021
Apr 30, 2021
Apr 13, 2021
Apr 13, 2021
Apr 13, 2021
Apr 13, 2021
Apr 9, 2021
Apr 13, 2021
Apr 13, 2021
May 7, 2021
Apr 23, 2021
Apr 23, 2021
Apr 13, 2021
Apr 13, 2021
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Apr 13, 2021
Sep 29, 2020
Sep 29, 2020
Sep 27, 2020
Sep 29, 2020
Apr 13, 2021
Mar 17, 2021
Apr 27, 2021
Apr 26, 2021
May 5, 2021
Apr 13, 2021
May 10, 2021
Apr 13, 2021
Sep 27, 2020
May 19, 2021
May 12, 2021
Apr 13, 2021
May 17, 2021
Sep 27, 2020
Sep 27, 2020
Feb 9, 2021
Apr 22, 2021
Jan 20, 2021
May 10, 2021
May 19, 2021
May 20, 2021
Apr 13, 2021
Apr 30, 2021
Apr 21, 2021
May 13, 2021
Feb 11, 2021
Apr 27, 2021
May 4, 2021

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.