The Wayback Machine - https://web.archive.org/web/20201012065538/https://github.com/github/docs/tree/main/includes
Skip to content
main
docs/includes/
docs/includes/

README.md

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.

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.