1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/includes
Sarah Schneider 712003941f Release candidate banner script (#16427)
* remove middleware that sets notification flags

* move all notification handling into includes/header-notification.html

* update tests

* add release candidate header notification

* add release candidate banner text

* new script to add or remove a release candidate banner

* Update script/release-banner.js

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

* clarify error message

* empty commit to rerun CI

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2020-11-13 12:12:53 -05:00
..
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-11-03 13:50:02 -05:00
2020-09-27 14:10:11 +02:00
2020-10-12 00:39:12 +03:00

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.