docs/includes
Sarah Schneider da60aa51e1
Support enterpriseServerVersions in Liquid statements (#16058)
* remove outdated and redundant context.enterpriseVersions and add new context.enterpriseServerVersions

* update references from context.enterpriseVersions -> context.enterpriseServerReleases

* add test

* also test oldest supported enterprise version in addition to the latest

* Script to update not-free-pro-team conditionals (#16060)

* script to update not-free-pro-team conditionals

* change string to regex so we can do replace all

* remove stray test.only

* Update middleware/context.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/fixtures/page-versioned-for-all-enterprise-releases.md

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-10-15 16:20:41 -04:00
..
liquid-tags add contributing/development.md (#15806) 2020-10-01 11:27:27 -07:00
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
all-products-link.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
article-version-switcher.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
article.html Uncomment the contribute CTA (#15901) 2020-10-07 09:32:40 -07:00
breadcrumbs.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
contribution.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
deprecation-banner.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
error-404-deprecation-message.html Support enterpriseServerVersions in Liquid statements (#16058) 2020-10-15 16:20:41 -04:00
explorer.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
featured-article.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
featured-link.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
featured-links.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
footer.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-arguments.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-deprecation.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-enum.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-fields.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-input-fields.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-input-object.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-interface.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-mutation.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
graphql-object.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-preview.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-query.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-return-fields.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
graphql-scalar.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
graphql-union.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
head.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
header-notification.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
header.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
helpfulness.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
homepage-version-switcher.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
landing.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
printer-icon.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
rest_operation.html Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
rest_operations_at_current_path.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
rest_toc_item.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
search-form.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
sidebar-guides.html Hello git history spelunker! 2020-09-27 14:10:11 +02:00
sidebar-homepage.html Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
sidebar-specific-product.html Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
sidebar.html Merge branch 'main' into repo-sync 2020-09-29 15:24:48 -07:00
support.html ui update support buttons (#248) 2020-10-08 10:58:59 -04:00

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.