9.4 KiB
		
	
	
	
	
	
			
		
		
	
	
			9.4 KiB
		
	
	
	
	
	
| layout | title | prev_section | next_section | permalink | 
|---|---|---|---|---|
| docs | Variables | pages | collections | /docs/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.
Global Variables
| Variable | Description | 
|---|---|
| 
 | 
  | 
Site Variables
| Variable | Description | 
|---|---|
| 
 | 
  | 
Page Variables
| Variable | Description | 
|---|---|
| 
 | 
  | 
ProTip™: Use Custom Front Matter
Any custom front matter that you specify will be available under
<code>page</code>. For example, if you specify <code>custom_css: true</code>
in a page’s front matter, that value will be available as
<code>page.custom_css</code>.
Paginator
| Variable | Description | 
|---|---|
| 
 | Number of Posts per page. | 
| 
 | Posts available for that page. | 
| 
 | Total number of Posts. | 
| 
 | Total number of Pages. | 
| 
 | The number of the current page. | 
| 
 | The number of the previous page. | 
| 
 | The path to the previous page. | 
| 
 | The number of the next page. | 
| 
 | The path to the next page. | 
Paginator variable availability
These are only available in index files, however they can be located in a
subdirectory, such as <code>/blog/index.html</code>.