docs/includes
..
liquid-tags
README.md
all-enterprise-releases-link.html
all-products-link.html
article-cards.html
article-version-switcher.html
article.html
breadcrumbs.html
category-articles-list.html
code-example-card.html
code-examples.html
community-examples.html
contribution.html
deprecation-banner.html
discussions-community-card.html
enterprise-server-release-notes.html
error-404-deprecation-message.html
explorer.html
featured-article.html
featured-link.html
featured-links.html
generic-toc-flat.html
generic-toc-nested.html
github-ae-release-notes.html
graphql-arguments.html
graphql-deprecation.html
graphql-enum.html
graphql-fields.html
graphql-input-fields.html
graphql-input-object.html
graphql-interface.html
graphql-mutation.html
graphql-object.html
graphql-preview.html
graphql-query.html
graphql-return-fields.html
graphql-scalar.html
graphql-union.html
guide-card.html
head.html
header-notification.html
header-version-switcher.html
header.html
landing.html
learning-track-nav.html
printer-icon.html
product-articles-list.html
product-releases.html
release-notes-category-label.html
rest_operation.html
rest_operations_at_current_path.html
rest_toc_item.html
scripts.html
scroll-button.html
search-form.html
sidebar-homepage.html
sidebar-product.html
sidebar.html
small-footer.html
sponsor-examples.html
sponsors-community-card.html
support-section.html
support.html
survey.html
toggle-images.html
tool-switcher.html

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.