Jekyll logo

Jekyll Cheatsheet

Learn everything Jekyll is capable of from an exhaustive list of variables, tags, and filters.

Collection variables Docs

  • directory

  • docs

  • files

  • label

  • output

  • relative_path

Document variables Docs

  • collection

  • content

  • relative_path

Global variables Docs

  • content

  • page

  • site

Liquid filters - array Docs

  • array_to_sentence_string

  • first

  • group_by

  • group_by_exp

  • join

  • jsonify

  • last

  • map

  • push

  • size

  • sort

  • uniq

  • where

  • where_exp

Liquid filters - date Docs

  • date

  • date_to_long_string

  • date_to_long_rfc822

  • date_to_string

  • date_to_xmlschema

Liquid filters - integer Docs

  • ceil

  • divided_by

  • floor

  • minus

  • modulo

  • plus

  • round

  • times

Liquid filters - string Docs

  • absolute_url

  • append

  • capitalize

  • cgi_escape

  • default

  • downcase

  • escape

  • lstrip

  • markdownify

  • number_of_words

  • prepend

  • relative_url

  • remove

  • remove_first

  • replace

  • replace_first

  • rstrip

  • sassify

  • scssify

  • size

  • slice

  • slugify

  • smartify

  • split

  • strip

  • strip_html

  • strip_newlines

  • truncate

  • truncatewords

  • upcase

  • uri_escape

  • url_encode

  • xml_escape

Liquid for loops Docs

  • else

  • first

  • index

  • index0

  • last

  • length

  • limit

  • offset

  • reversed

  • rindex

  • rindex0

Liquid tags - control flow Docs

  • case

  • elsif

  • if

  • operations

  • unless

Liquid tags - iteration Docs

  • break

  • continue

  • cycle

  • decrement

  • for

  • increment

Liquid tags - other Docs

  • comment

  • highlight

  • include

  • include_relative

  • link

  • post_url

  • raw

Liquid tags - variable Docs

  • assign

  • capture

Markdown Docs

  • blockquotes

  • code blocks

  • definition list

  • headings

  • horizontal rules

  • lists

  • paragraphs

  • tables

  • text markup

Page variables Docs

  • path

  • url

Post variables Docs

  • categories

  • content

  • date

  • excerpt

  • id

  • next

  • previous

  • tags

  • title

Site variables Docs

  • categories.category

  • collections

  • configuration data

  • data

  • documents

  • html_pages

  • pages

  • posts

  • related_posts

  • static_files

  • tags.tag

  • time

Static file variables Docs

  • extname

  • modified_time

  • path

Yaml Docs

  • hashes

  • sequences

  • variables