absolute url
Creates an absolute path url. The path will include the value of the "url" and "baseurl" settings from the _config.yml file.
copy
Creates an absolute path url. The path will include the value of the "url" and "baseurl" settings from the _config.yml file.
copy
You cannot create an array directly in Liquid, however you can go around it by splitting a string.
copy
Assign data to a variable.
copy
Capitalize string.
copy
Capture is a very handy Liquid function for assigning structured data to a variable.
copy
copy
Get current time and date.
copy
Format date to long strings.
copy
Format date to rfc822.
copy
Format date to strings.
copy
Format date to xml schema.
copy
Simple loop getting name, permalink and a number of posts for each collection type.
copy
You can escape liquid tags from being processed by using this pattern.
copy
Example of a simple Liquid for loop returning a list of pages.
copy
Use forloop.last to select the last item in the for loop.
copy
Get a collection of all posts and display the title and the url in a list format.
copy
A simple script to get all tags from the front matter of a post/page.
copy
Conditional if statement.
copy
Include files from the "_include" directory. You can also pass parameters to the include tags.
copy
Converts a variable to a string. Useful while debugging.
copy
Convert data to json format.
copy
You can use limit attribute to restrict the numbers of returned results by the for loop.
copy
Converts markdown to HTML code.
copy
Counts the number of words in the text.
copy
Returns the .
copy
Creates a relative path url. The path will include the value of the "baseurl" setting from the _config.yml file if set.
copy
Filters out first quoted characters.
copy
Convert sass to css code. Use "scssify" flag to convert scss.
copy
Count the number of characters in a string or length of an array. "." or "|" syntax can be used.
copy
Convert some text to a URL safe string. Use the following flags for different results - "pretty", "ascii", "latin".
copy
Convert string to an integer.
copy
Trim string to the number of characters specified. By default the truncated string will end with ellipsis (...) however you can replace it by passing your ending as the second parameter.
copy
Ignore if the condition is met.
copy
Transform all string to uppercase.
copy
You can set a default value for a variable to fall back to.
copy
Escape special characters to use in xml.
copy