Tutorial by Examples

Front matter tells Jekyll to parse a file. You add predefined variables, which are YAML sets, to the front matter. Then, you can use Liquid tags in your files to access the front matter. Front matter is indicated with two triple-dashed lines. You must place the variables between the two triple-dash...
You can also put custom variables in the front matter. These can be reused in the page layout. For example, if your front matter looks like this: --- layout: post title: "Using Custom Variables!" date: 2016-07-25 chicken: "I like Chicken." --- You can use the chicken va...
There are a number of predefined global variables that you can set in the front matter of a page or post. VariableDescriptionlayoutIf set, this specifies the layout file to use. Use the layout file name without the file extension. Layout files must be placed in the _layouts directory.permalinkIf y...

Page 1 of 1