1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/includes
Jason Etcovitch 28efe65bf5 Fix some invalid Liquid (#17705)
* Remove quotes from render paths

* Do the same for includes

* Fix {{{ in breadcrumbs

* Remove some old octicon syntax

* Fix some wonks

* Borked one

* Unchange `render` calls

* Smaller diff

* Even smaller
2021-02-05 13:17:15 -05:00
..
2020-12-18 15:08:07 -05:00
2020-09-27 14:10:11 +02:00
2021-01-14 15:04:52 -05: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
2021-01-14 15:08:00 -05: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.