Sha256: 7f6576e7642d85833e1371bb8cd712ea9a164539ee1fbf158199d09c29c4389b
Contents?: true
Size: 1009 Bytes
Versions: 21
Compression:
Stored size: 1009 Bytes
Contents
[role="mt-5"] == Jekyll Variables Jekyll traverses your site looking for files to process. Any files with `YAML front matter` are subject to processing. For each of these files, Jekyll makes a variety of data available via the `Liquid templating system`. The following is a reference of the available data. [role="mt-4"] === Global Variables include::../tables/global_variables.asciidoc[] [role="mt-4"] === Site Variables include::../tables/site_variables.asciidoc[] [role="mt-4"] === Page Variables include::../tables/page_variables.asciidoc[] [TIP] ==== Use Custom Front Matter Any custom front matter that you specify will be available under `page`. For example, if you specify `custom_css: true` in a pages front matter, that value will be available as `page.custom_css`. If you specify front matter in a layout, access that via `layout`. For example, if you specify `class: full_page` in a pages front matter, that value will be available as `layout.class` in the layout and its parents. ====
Version data entries
21 entries across 21 versions & 1 rubygems