--- title: Templates permalink: /docs/templates/ --- Jekyll uses the [Liquid](https://shopify.github.io/liquid/) templating language to process templates. All of the standard Liquid [tags](https://shopify.github.io/liquid/tags/control-flow/) and [filters](https://shopify.github.io/liquid/filters/abs/) are supported. To make common tasks easier, Jekyll even adds a few handy filters and tags of its own, all of which you can find on this page. Jekyll even lets you come up with your own tags via plugins. ## Filters
| Description | Filter and Output | 
|---|---|
| Relative URL Prepend the  | 
          
          | 
| Absolute URL Prepend the  | 
          
           | 
| Date to XML Schema Convert a Date into XML Schema (ISO 8601) format. | 
          
           | 
| Date to RFC-822 Format Convert a Date into the RFC-822 format used for RSS feeds. | 
          
           | 
| Date to String Convert a date to short format. | 
          
           | 
| Date to String in ordinal US style Format a date to ordinal, US, short format. | 
          
           | 
| Date to Long String Format a date to long format. | 
          
           | 
| Date to Long String in ordinal UK style Format a date to ordinal, UK, long format. | 
          
           | 
| Where Select all the objects in an array where the key has the given value. | 
          | 
| Where Expression Select all the objects in an array where the expression is true. Jekyll v3.2.0 & later. | 
          | 
| Group By Group an array's items by a given property. | 
          
           | 
| Group By Expression Group an array's items using a Liquid expression. | 
          
           | 
| XML Escape Escape some text for use in XML. | 
          | 
| CGI Escape 
          CGI escape a string for use in a URL. Replaces any special characters
          with appropriate  | 
          
           | 
| URI Escape 
          Percent encodes any special characters in a URI. URI escape normally replaces a space with  | 
          
           | 
| Number of Words Count the number of words in some text. | 
          
           | 
| Array to Sentence Convert an array into a sentence. Useful for listing tags. Optional argument for connector. | 
          
           
          
           | 
| Markdownify Convert a Markdown-formatted string into HTML. | 
          | 
| Smartify Convert "quotes" into “smart quotes.” | 
          | 
| Converting Sass/SCSS Convert a Sass- or SCSS-formatted string into CSS. | 
           | 
| Slugify Convert a string into a lowercase URL "slug". See below for options. | 
          
           
          
           
          
           
          
           | 
| Data To JSON Convert Hash or Array to JSON. | 
          | 
| Normalize Whitespace Replace any occurrence of whitespace with a single space. | 
          | 
| Sort Sort an array. Optional arguments for hashes: 1. property name 2. nils order (first or last). | 
          
          
          | 
| Sample Pick a random value from an array. Optional: pick multiple values. | 
          
          | 
| To Integer Convert a string or boolean to integer. | 
          | 
| Array Filters Push, pop, shift, and unshift elements from an Array. These are NON-DESTRUCTIVE, i.e. they do not mutate the array, but rather make a copy and mutate that. | 
           
           
           
           
           
           
           
           | 
| Inspect Convert an object into its String representation for debugging. | 
          | 
If you are using a language that contains curly braces, you
    will likely need to place {% raw %} and
    {% endraw %} tags around your code.