1
0
mirror of synced 2025-12-23 21:07:12 -05:00
Files
docs/includes
Kevin Heis 49377f9096 Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00:00
..
2021-04-13 16:00:46 +00:00
2021-04-13 16:00:46 +00:00
2021-04-13 16:00:46 +00:00
2021-04-13 16:00:46 +00:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2021-04-13 16:00:46 +00: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.