Liquid
Liquid is a template engine for HTML. It’s used by Jekyll.
Variables Usage
- Declaration in a
config.yml
file withhome_sidebar: Home
- Usage with
liquid
infile.html
as{{ site.home_sidebar }}
Functions
Show liquid code snippets
When writing liquid
code snippets, jekyll process this code instead of showing it. To solve this, wrap the code snippet with the tags
{percent raw percent}
{percent endraw percent}