+{% highlight text %}
+About Us
+About Us
+{% endhighlight %}
+
+
+In the example above, notice that we are using `pages` as opposed to `page`.
diff --git a/basics/index.html b/basics/index.html
new file mode 100644
index 0000000..1ab753a
--- /dev/null
+++ b/basics/index.html
@@ -0,0 +1,4 @@
+---
+layout: default
+---
+
diff --git a/basics/introduction.md b/basics/introduction.md
new file mode 100644
index 0000000..23b84c5
--- /dev/null
+++ b/basics/introduction.md
@@ -0,0 +1,64 @@
+---
+title: Introduction
+---
+
+Liquid code can be categorized into [**objects**](#objects), [**tags**](#tags), and [**filters**](#filters).
+
+## Objects
+
+**Objects** tell Liquid where to show content on a page. Objects and variable names are denoted by double curly braces: `{% raw %}{{{% endraw %}` and `{% raw %}}}{% endraw %}`.
+
+
+```liquid
+{% raw %}
+{{ page.title }}
+{% endraw %}
+```
+
+```text
+Introduction
+```
+
+In this case, Liquid is rendering the content of an object called `page.title`, and that object contains the text `Introduction`.
+
+## Tags
+
+**Tags** create the logic and control flow for templates. They are denoted by curly braces and percent signs: `{% raw %}{%{% endraw %}` and `{% raw %}%}{% endraw %}`.
+
+The markup used in tags does not produce any visible text. This means that you can assign variables and create conditions and loops without showing any of the Liquid logic on the page.
+
+```liquid
+{% raw %}
+{% if user %}
+ Hello {{ user.name }}!
+{% endif %}
+
+{% endraw %}
+```
+
+```text
+Hello Adam!
+```
+
+Tags can be categorized into three types:
+
+- [Control flow](/tags/control-flow)
+- [Iteration](/tags/iteration)
+- [Variable assignments](/tags/variable)
+
+You can read more about each type of tag in their respective sections.
+
+
+## Filters
+
+**Filters** change the output of a Liquid object. They are using within an output and are separated by a `|`.
+
+```liquid
+{% raw %}
+{{ "/my/fancy/url" | append: ".html" }}
+{% endraw %}
+```
+
+```text
+{{ "/my/fancy/url" | append: ".html" }}
+```
diff --git a/basics/operators.md b/basics/operators.md
new file mode 100644
index 0000000..522805b
--- /dev/null
+++ b/basics/operators.md
@@ -0,0 +1,88 @@
+---
+title: Operators
+---
+
+Liquid includes many logical and comparison operators.
+
+## Basic operators
+
+
+
+
+
==
+
equals
+
+
+
!=
+
does not equal
+
+
+
>
+
greater than
+
+
+
<
+
less than
+
+
+
>=
+
greater than or equal to
+
+
+
<=
+
less than or equal to
+
+
+
or
+
logical or
+
+
+
and
+
logical and
+
+
+
+
+For example:
+
+```liquid
+{% raw %}
+{% if product.title == "Awesome Shoes" %}
+ These shoes are awesome!
+{% endif %}
+{% endraw %}
+```
+
+You can use multiple operators in a tag:
+
+```liquid
+{% raw %}
+{% if product.type == "Shirt" or product.type == "Shoes" %}
+ This is a shirt or a pair of shoes.
+{% endif %}
+{% endraw %}
+```
+
+## contains
+
+`contains` checks for the presence of a substring inside a string.
+
+```liquid
+{% raw %}
+{% if product.title contains 'Pack' %}
+ This product's title contains the word Pack.
+{% endif %}
+{% endraw %}
+```
+
+`contains` can also check for the presence of a string in an array of strings.
+
+```liquid
+{% raw %}
+{% if product.tags contains 'Hello' %}
+ This product has been tagged with 'Hello'.
+{% endif %}
+{% endraw %}
+```
+
+`contains` can only search strings. You cannot use it to check for an object in an array of objects.
diff --git a/basics/truthy-and-falsy.md b/basics/truthy-and-falsy.md
new file mode 100644
index 0000000..c760a6a
--- /dev/null
+++ b/basics/truthy-and-falsy.md
@@ -0,0 +1,76 @@
+---
+title: Truthy and falsy
+---
+
+In programming, anything that returns `true` in a conditional is called **truthy**. Anything that returns `false` in a conditional is called **falsy**. All object types can be described as either truthy or falsy.
+
+- [Truthy](#truthy)
+- [Falsy](#falsy)
+- [Summary](#summary)
+
+## Truthy
+
+All values in Liquid are truthy except `nil` and `false`.
+
+In the example below, the string "Tobi" is not a boolean, but it is truthy in a conditional:
+
+```liquid
+{% raw %}
+{% assign tobi = "Tobi" %}
+
+{% if tobi == true %}
+ This condition will always be true.
+{% endif %}
+{% endraw %}
+```
+
+[Strings](/basics/types/#string), even when empty, are truthy. The example below will result in empty HTML tags if `settings.fp_heading` is empty:
+
+```liquid
+{% raw %}
+{% if settings.fp_heading %}
+
{{ settings.fp_heading }}
+{% endif %}
+{% endraw %}
+```
+
+```html
+
+```
+
+[EmptyDrops](/basics/types/#emptydrop) are also truthy. In the example below, if `settings.page` is an empty string or set to a hidden or deleted object, you will end up with an EmptyDrop. The result is an empty `div`:
+
+```liquid
+{% raw %}
+{% if pages[settings.page] %}
+
{{ pages[settings.page].content }}
+{% endif %}
+{% endraw %}
+```
+
+```html
+
+```
+
+## Falsy
+
+The falsy values in Liquid are [`nil`](/basics/types/#nil) and [`false`](/basics/types/#boolean).
+
+## Summary
+
+The table below summarizes what is truthy or falsy in Liquid.
+
+| | truthy | falsy |
+| ------------- |:-------------:|:-------------:|
+| true | • | |
+| false | | • |
+| nil | | • |
+| string | • | |
+| empty string | • | |
+| 0 | • | |
+| integer | • | |
+| float | • | |
+| array | • | |
+| empty array | • | |
+| page | • | |
+| EmptyDrop | • | |
diff --git a/basics/types.md b/basics/types.md
new file mode 100644
index 0000000..f4f5825
--- /dev/null
+++ b/basics/types.md
@@ -0,0 +1,160 @@
+---
+title: Types
+---
+
+Liquid objects can have one of six types:
+
+- [String](#string)
+- [Number](#number)
+- [Boolean](#boolean)
+- [Nil](#nil)
+- [Array](#array)
+- [EmptyDrop](#emptydrop)
+
+You can initialize Liquid variables with the [assign](/tags/#assign) or [capture](/tags/#capture) tags.
+
+## String
+
+Declare a string by wrapping a variable's value in single or double quotes:
+
+```liquid
+{% raw %}
+{% assign my_string = "Hello World!" %}
+{% endraw %}
+```
+
+## Number
+
+Numbers include floats and integers:
+
+```liquid
+{% raw %}
+{% assign my_int = 25 %}
+{% assign my_float = 39.756 %}
+{% endraw %}
+```
+
+## Boolean
+
+Booleans are either `true` or `false`. No quotations are necessary when declaring a boolean:
+
+```liquid
+{% raw %}
+{% assign foo = true %}
+{% assign bar = false %}
+{% endraw %}
+```
+
+## Nil
+
+Nil is a special empty value that is returned when Liquid code has no results. It is **not** a string with the characters "nil".
+
+Nil is [treated as false](/basics/truthy-and-falsy) in the conditions of `if` blocks and other Liquid tags that check the truthfulness of a statement.
+
+In the following example, if the user does not exist (that is, `user` returns `nil`), Liquid will not print the greeting:
+
+```liquid
+{% raw %}
+{% if user %}
+ Hello {{ user.name }}!
+{% endif %}
+{% endraw %}
+```
+
+Tags or outputs that return `nil` will not print anything to the page.
+
+```liquid
+{% raw %}
+The current user is {{ user.name }}
+{% endraw %}
+```
+
+```text
+The current user is
+```
+
+## Array
+
+Arrays hold lists of variables of any type.
+
+### Accessing items in arrays
+
+To access all the items in an array, you can loop through each item in the array using an [iteration tag](/tags/iteration/).
+
+```liquid
+{% raw %}
+
+{% for user in site.users %}
+ {{ user }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+{% raw %}
+Tobi Laura Tetsuro Adam
+{% endraw %}
+```
+
+### Accessing specific items in arrays
+
+You can use square bracket `[` `]` notation to access a specific item in an array. Array indexing starts at zero.
+
+```liquid
+{% raw %}
+
+{{ site.users[0] }}
+{{ site.users[1] }}
+{{ site.users[3] }}
+{% endraw %}
+```
+
+```text
+Tobi
+Laura
+Adam
+```
+
+### Initializing arrays
+
+You cannot initialize arrays using only Liquid.
+
+You can, however, use the [split](/filters/split) filter to break a string into an array of substrings.
+
+## EmptyDrop
+
+An EmptyDrop object is returned if you try to access a deleted object by name. In the example below, `page_1`, `page_2` and `page_3` are all EmptyDrop objects.
+
+```liquid
+{% raw %}
+{% assign variable = "hello" %}
+{% assign page_1 = pages[variable] %}
+{% assign page_2 = pages["does-not-exist"] %}
+{% assign page_3 = pages.this-handle-does-not-exist %}
+{% endraw %}
+```
+
+EmptyDrop objects only have one attribute, `empty?`, which is always *true*.
+
+Collections and pages that *do* exist do not have an `empty?` attribute. Their `empty?` is "falsy", which means that calling it inside an if statement will return *false*. When using an `unless` statement on existing collections and pages, `empty?` will return `true`.
+
+### Checking for emptiness
+
+Using the `empty?` attribute, you can check to see if an object exists or not before you access any of its attributes.
+
+```liquid
+{% raw %}
+{% unless pages.about.empty? %}
+
+
{{ pages.frontpage.title }}
+
{{ pages.frontpage.content }}
+{% endunless %}
+{% endraw %}
+```
+
+If you don't check for emptiness first, Liquid might print empty HTML elements to the page:
+
+```html
+
+
+```
diff --git a/feed.xml b/feed.xml
new file mode 100644
index 0000000..a6628bd
--- /dev/null
+++ b/feed.xml
@@ -0,0 +1,30 @@
+---
+layout: null
+---
+
+
+
+ {{ site.title | xml_escape }}
+ {{ site.description | xml_escape }}
+ {{ site.url }}{{ site.baseurl }}/
+
+ {{ site.time | date_to_rfc822 }}
+ {{ site.time | date_to_rfc822 }}
+ Jekyll v{{ jekyll.version }}
+ {% for post in site.posts limit:10 %}
+
+ {{ post.title | xml_escape }}
+ {{ post.content | xml_escape }}
+ {{ post.date | date_to_rfc822 }}
+ {{ post.url | prepend: site.baseurl | prepend: site.url }}
+ {{ post.url | prepend: site.baseurl | prepend: site.url }}
+ {% for tag in post.tags %}
+ {{ tag | xml_escape }}
+ {% endfor %}
+ {% for cat in post.categories %}
+ {{ cat | xml_escape }}
+ {% endfor %}
+
+ {% endfor %}
+
+
diff --git a/filters/append.md b/filters/append.md
new file mode 100644
index 0000000..1b6202f
--- /dev/null
+++ b/filters/append.md
@@ -0,0 +1,29 @@
+---
+title: append
+---
+
+Concatenates two strings and returns the concatenated value.
+
+```liquid
+{% raw %}
+{{ "/my/fancy/url" | append: ".html" }}
+{% endraw %}
+```
+
+```text
+{{ "/my/fancy/url" | append: ".html" }}
+```
+
+`append` can also be used with variables:
+
+```liquid
+{% raw %}
+{% assign filename = "/index.html" %}
+{{ "website.com" | append: filename }}
+{% endraw %}
+```
+
+```text
+{% assign filename = "/index.html" %}
+{{ "website.com" | append: filename }}
+```
diff --git a/filters/capitalize.md b/filters/capitalize.md
new file mode 100644
index 0000000..ef9ecbe
--- /dev/null
+++ b/filters/capitalize.md
@@ -0,0 +1,27 @@
+---
+title: capitalize
+---
+
+Makes the first character of a string capitalized.
+
+```liquid
+{% raw %}
+{{ "title" | capitalize }}
+{% endraw %}
+```
+
+```text
+Title
+```
+
+`capitalize` only capitalizes the first character of the string, so later words are not affected:
+
+ ```liquid
+{% raw %}
+{{ "my great title" | capitalize }}
+{% endraw %}
+```
+
+```text
+My great title
+```
diff --git a/filters/ceil.md b/filters/ceil.md
new file mode 100644
index 0000000..f297651
--- /dev/null
+++ b/filters/ceil.md
@@ -0,0 +1,47 @@
+---
+title: ceil
+---
+
+Rounds the input up to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied.
+
+```liquid
+{% raw %}
+{{ 1.2 | ceil }}
+{% endraw %}
+```
+
+```text
+{{ 1.2 | ceil }}
+```
+
+```liquid
+{% raw %}
+{{ 2.0 | ceil }}
+{% endraw %}
+```
+
+```text
+{{ 2.0 | ceil }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | ceil }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | ceil }}
+```
+
+Here the input value is a string:
+
+```liquid
+{% raw %}
+{{ "3.5" | ceil }}
+{% endraw %}
+```
+
+```text
+{{ "3.5" | ceil }}
+```
diff --git a/filters/date.md b/filters/date.md
new file mode 100644
index 0000000..4048def
--- /dev/null
+++ b/filters/date.md
@@ -0,0 +1,37 @@
+---
+title: date
+---
+
+Converts a timestamp into another date format. The format for this syntax is the same as [`strftime`](//strftime.net).
+
+```liquid
+{% raw %}
+{{ article.published_at | date: "%a, %b %d, %y" }}
+{% endraw %}
+```
+
+```text
+Fri, Jul 17, 15
+```
+
+```liquid
+{% raw %}
+{{ article.published_at | date: "%Y" }}
+{% endraw %}
+```
+
+```text
+2015
+```
+
+`date` works on strings if they contain well-formatted dates:
+
+```liquid
+{% raw %}
+{{ "March 14, 2016" | date: "%b %d, %y" }}
+{% endraw %}
+```
+
+```text
+{{ "March 14, 2016" | date: "%b %d, %y" }}
+```
diff --git a/filters/default.md b/filters/default.md
new file mode 100644
index 0000000..28020e9
--- /dev/null
+++ b/filters/default.md
@@ -0,0 +1,44 @@
+---
+title: default
+---
+
+Allows you to specify a fallback in case a value doesn't exist. `default` will show its value if the left side is `nil`, `false`, or empty.
+
+In this example, `product_price` is not defined, so the default value is used.
+
+```liquid
+{% raw %}
+{{ product_price | default: 2.99 }}
+{% endraw %}
+```
+
+```text
+2.99
+```
+
+In this example, `product_price` is defined, so the default value is not used.
+
+```liquid
+{% raw %}
+{% assign product_price = 4.99 %}
+{{ product_price | default: 2.99 }}
+{% endraw %}
+```
+
+```text
+4.99
+```
+
+In this example, `product_price` is empty, so the default value is used.
+
+```liquid
+{% raw %}
+{% assign product_price = "" %}
+{{ product_price | default: 2.99 }}
+{% endraw %}
+```
+
+```text
+2.99
+```
+
diff --git a/filters/divided_by.md b/filters/divided_by.md
new file mode 100644
index 0000000..a455fd1
--- /dev/null
+++ b/filters/divided_by.md
@@ -0,0 +1,37 @@
+---
+title: divided_by
+---
+
+Divides a number by the specified number.
+
+The result is rounded down to the nearest integer (that is, the [floor](/filters/floor)).
+
+```liquid
+{% raw %}
+{{ 4 | divided_by: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 4 | divided_by: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ 16 | divided_by: 4 }}
+{% endraw %}
+```
+
+```text
+{{ 16 | divided_by: 4 }}
+```
+
+```liquid
+{% raw %}
+{{ 5 | divided_by: 3 }}
+{% endraw %}
+```
+
+```text
+{{ 5 | divided_by: 3 }}
+```
diff --git a/filters/downcase.md b/filters/downcase.md
new file mode 100644
index 0000000..f86c952
--- /dev/null
+++ b/filters/downcase.md
@@ -0,0 +1,25 @@
+---
+title: downcase
+---
+
+Makes each character in a string lowercase. It has no effect on strings which are already all lowercase.
+
+```liquid
+{% raw %}
+{{ "Parker Moore" | downcase }}
+{% endraw %}
+```
+
+```text
+{{ "Parker Moore" | downcase }}
+```
+
+```liquid
+{% raw %}
+{{ "apple" | downcase }}
+{% endraw %}
+```
+
+```text
+{{ "apple" | downcase }}
+```
diff --git a/filters/escape.md b/filters/escape.md
new file mode 100644
index 0000000..508f808
--- /dev/null
+++ b/filters/escape.md
@@ -0,0 +1,25 @@
+---
+title: escape
+---
+
+Escapes a string by replacing characters with escape sequences (so that the string can be used in a URL, for example). It doesn't change strings that don't have anything to escape.
+
+```liquid
+{% raw %}
+{{ "Have you read 'James & the Giant Peach'?" | escape }}
+{% endraw %}
+```
+
+```text
+{{ "Have you read 'James & the Giant Peach'?" | escape }}
+```
+
+```liquid
+{% raw %}
+{{ "Tetsuro Takara" | escape }}
+{% endraw %}
+```
+
+```text
+{{ "Tetsuro Takara" | escape }}
+```
diff --git a/filters/escape_once.md b/filters/escape_once.md
new file mode 100644
index 0000000..e8160a9
--- /dev/null
+++ b/filters/escape_once.md
@@ -0,0 +1,25 @@
+---
+title: escape_once
+---
+
+Escapes a string without changing existing escaped entities. It doesn't change strings that don't have anything to escape.
+
+```liquid
+{% raw %}
+{{ "1 < 2 & 3" | escape_once }}
+{% endraw %}
+```
+
+```text
+{{ "1 < 2 & 3" | escape_once }}
+```
+
+```liquid
+{% raw %}
+{{ "1 < 2 & 3" | escape_once }}
+{% endraw %}
+```
+
+```text
+{{ "1 < 2 & 3" | escape_once }}
+```
diff --git a/filters/first.md b/filters/first.md
new file mode 100644
index 0000000..8513a60
--- /dev/null
+++ b/filters/first.md
@@ -0,0 +1,33 @@
+---
+title: first
+---
+
+Returns the first item of an array.
+
+```liquid
+{% raw %}
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array.first }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array.first }}
+```
+
+```liquid
+{% raw %}
+{% assign my_array = "zebra, octopus, giraffe, tiger" | split: ", " %}
+
+{{ my_array.first }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "zebra, octopus, giraffe, tiger" | split: ", " %}
+
+{{ my_array.first }}
+```
diff --git a/filters/floor.md b/filters/floor.md
new file mode 100644
index 0000000..306ae15
--- /dev/null
+++ b/filters/floor.md
@@ -0,0 +1,47 @@
+---
+title: floor
+---
+
+Rounds a number down to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied.
+
+```liquid
+{% raw %}
+{{ 1.2 | floor }}
+{% endraw %}
+```
+
+```text
+{{ 1.2 | floor }}
+```
+
+```liquid
+{% raw %}
+{{ 2.0 | floor }}
+{% endraw %}
+```
+
+```text
+{{ 2.0 | floor }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | floor }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | floor }}
+```
+
+Here the input value is a string:
+
+```liquid
+{% raw %}
+{{ "3.5" | floor }}
+{% endraw %}
+```
+
+```text
+{{ "3.5" | floor }}
+```
diff --git a/filters/index.html b/filters/index.html
new file mode 100644
index 0000000..43d6324
--- /dev/null
+++ b/filters/index.html
@@ -0,0 +1,10 @@
+---
+layout: default
+---
+
+{% for doc in site.collections["filters"].docs %}
+
{{ doc.title }}
+
+ {{ doc.content }}
+
+{% endfor %}
diff --git a/filters/join.md b/filters/join.md
new file mode 100644
index 0000000..dfff763
--- /dev/null
+++ b/filters/join.md
@@ -0,0 +1,19 @@
+---
+title: join
+---
+
+Combines the items in an array into a single string using the argument as a separator.
+
+```liquid
+{% raw %}
+{% assign beatles = "John, Paul, George, Ringo" | split: ", " %}
+
+{{ beatles | join: " and " }}
+{% endraw %}
+```
+
+```text
+{% assign beatles = "John, Paul, George, Ringo" | split: ", " %}
+
+{{ beatles | join: " and " }}
+```
diff --git a/filters/last.md b/filters/last.md
new file mode 100644
index 0000000..5e4454e
--- /dev/null
+++ b/filters/last.md
@@ -0,0 +1,33 @@
+---
+title: last
+---
+
+Returns the last item of an array.
+
+```liquid
+{% raw %}
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array.last }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array.last }}
+```
+
+```liquid
+{% raw %}
+{% assign my_array = "zebra, octopus, giraffe, tiger" | split: ", " %}
+
+{{ my_array.last }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "zebra, octopus, giraffe, tiger" | split: ", " %}
+
+{{ my_array.last }}
+```
diff --git a/filters/lstrip.md b/filters/lstrip.md
new file mode 100644
index 0000000..72db9ab
--- /dev/null
+++ b/filters/lstrip.md
@@ -0,0 +1,15 @@
+---
+title: lstrip
+---
+
+Removes all whitespaces (tabs, spaces, and newlines) from the beginning of a string. The filter does not affect spaces between words.
+
+```liquid
+{% raw %}
+{{ " So much room for activities! " | lstrip }}
+{% endraw %}
+```
+
+```text
+{{ " So much room for activities! " | lstrip }}
+```
diff --git a/filters/map.md b/filters/map.md
new file mode 100644
index 0000000..37b7b9a
--- /dev/null
+++ b/filters/map.md
@@ -0,0 +1,25 @@
+---
+title: map
+---
+
+Creates an array of values by extracting the values of a named property from another object.
+
+In this example, assume the object `site.pages` contains all the metadata for a website. Using `assign` with the `map` filter creates a variable that contains only the values of the `category` properties of everything in the `site.pages` object.
+
+```liquid
+{% raw %}
+{% assign all_categories = site.pages | map: "category" %}
+
+{% for item in all_categories %}
+{{ item }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+business
+celebrities
+lifestyle
+sports
+technology
+```
diff --git a/filters/minus.md b/filters/minus.md
new file mode 100644
index 0000000..0ccc036
--- /dev/null
+++ b/filters/minus.md
@@ -0,0 +1,35 @@
+---
+title: minus
+---
+
+Subtracts a number from another number.
+
+```liquid
+{% raw %}
+{{ 4 | minus: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 4 | minus: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ 16 | minus: 4 }}
+{% endraw %}
+```
+
+```text
+{{ 16 | minus: 4 }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | minus: 12 }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | minus: 12 }}
+```
diff --git a/filters/modulo.md b/filters/modulo.md
new file mode 100644
index 0000000..6a57cd3
--- /dev/null
+++ b/filters/modulo.md
@@ -0,0 +1,35 @@
+---
+title: modulo
+---
+
+Returns the remainder of a division operation.
+
+```liquid
+{% raw %}
+{{ 3 | modulo: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 3 | modulo: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ 24 | modulo: 7 }}
+{% endraw %}
+```
+
+```text
+{{ 24 | modulo: 7 }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | modulo: 12 }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | modulo: 12 }}
+```
diff --git a/filters/newline_to_br.md b/filters/newline_to_br.md
new file mode 100644
index 0000000..c5aabbc
--- /dev/null
+++ b/filters/newline_to_br.md
@@ -0,0 +1,25 @@
+---
+title: newline_to_br
+---
+
+Replaces every newline (`\n`) with an HTML line break (` `).
+
+```liquid
+{% raw %}
+{% capture string_with_newlines %}
+Hello
+there
+{% endcapture %}
+
+{{ string_with_newlines | newline_to_br }}
+{% endraw %}
+```
+
+```html
+{% capture string_with_newlines %}
+Hello
+there
+{% endcapture %}
+
+{{ string_with_newlines | newline_to_br }}
+```
diff --git a/filters/plus.md b/filters/plus.md
new file mode 100644
index 0000000..617a855
--- /dev/null
+++ b/filters/plus.md
@@ -0,0 +1,35 @@
+---
+title: plus
+---
+
+Adds a number to another number.
+
+```liquid
+{% raw %}
+{{ 4 | plus: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 4 | plus: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ 16 | plus: 4 }}
+{% endraw %}
+```
+
+```text
+{{ 16 | plus: 4 }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | plus: 12 }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | plus: 12 }}
+```
diff --git a/filters/prepend.md b/filters/prepend.md
new file mode 100644
index 0000000..2702edb
--- /dev/null
+++ b/filters/prepend.md
@@ -0,0 +1,31 @@
+---
+title: prepend
+---
+
+Adds the specified string to the beginning of another string.
+
+```liquid
+{% raw %}
+{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }}
+{% endraw %}
+```
+
+```text
+{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }}
+```
+
+You can also `prepend` variables:
+
+```liquid
+{% raw %}
+{% assign url = "liquidmarkup.com" %}
+
+{{ "/index.html" | prepend: url }}
+{% endraw %}
+```
+
+```text
+{% assign url = "liquidmarkup.com" %}
+
+{{ "/index.html" | prepend: url }}
+```
diff --git a/filters/remove.md b/filters/remove.md
new file mode 100644
index 0000000..6e9f695
--- /dev/null
+++ b/filters/remove.md
@@ -0,0 +1,15 @@
+---
+title: remove
+---
+
+Removes every occurrence of the specified substring from a string.
+
+```liquid
+{% raw %}
+{{ "I strained to see the train through the rain" | remove: "rain" }}
+{% endraw %}
+```
+
+```text
+{{ "I strained to see the train through the rain" | remove: "rain" }}
+```
diff --git a/filters/remove_first.md b/filters/remove_first.md
new file mode 100644
index 0000000..3b7157d
--- /dev/null
+++ b/filters/remove_first.md
@@ -0,0 +1,15 @@
+---
+title: remove_first
+---
+
+Removes only the first occurrence of the specified substring from a string.
+
+```liquid
+{% raw %}
+{{ "I strained to see the train through the rain" | remove_first: "rain" }}
+{% endraw %}
+```
+
+```text
+{{ "I strained to see the train through the rain" | remove_first: "rain" }}
+```
diff --git a/filters/replace.md b/filters/replace.md
new file mode 100644
index 0000000..62a14f2
--- /dev/null
+++ b/filters/replace.md
@@ -0,0 +1,15 @@
+---
+title: replace
+---
+
+Replaces every occurrence of an argument in a string with the second argument.
+
+```liquid
+{% raw %}
+{{ "Take my protein pills and put my helmet on" | replace: "my", "your" }}
+{% endraw %}
+```
+
+```text
+{{ "Take my protein pills and put my helmet on" | replace: "my", "your" }}
+```
diff --git a/filters/replace_first.md b/filters/replace_first.md
new file mode 100644
index 0000000..b8056cc
--- /dev/null
+++ b/filters/replace_first.md
@@ -0,0 +1,17 @@
+---
+title: replace_first
+---
+
+Replaces only the first occurrence of the first argument in a string with the second argument.
+
+```liquid
+{% raw %}
+{% assign my_string = "Take my protein pills and put my helmet on" %}
+{{ my_string | replace_first: "my", "your" }}
+{% endraw %}
+```
+
+```text
+{% assign my_string = "Take my protein pills and put my helmet on" %}
+{{ my_string | replace_first: "my", "your" }}
+```
diff --git a/filters/reverse.md b/filters/reverse.md
new file mode 100644
index 0000000..15432f9
--- /dev/null
+++ b/filters/reverse.md
@@ -0,0 +1,31 @@
+---
+title: reverse
+---
+
+Reverses the order of the items in an array. `reverse` cannot reverse a string.
+
+```liquid
+{% raw %}
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array | reverse | join: ", " }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array | reverse | join: ", " }}
+```
+
+`reverse` cannot be used directly on a string, but you can split a string into an array, reverse the array, and rejoin it by chaining together filters:
+
+```liquid
+{% raw %}
+{{ "Ground control to Major Tom." | split: "" | reverse | join: "" }}
+{% endraw %}
+```
+
+```text
+{{ "Ground control to Major Tom." | split: "" | reverse | join: "" }}
+```
diff --git a/filters/round.md b/filters/round.md
new file mode 100644
index 0000000..548386f
--- /dev/null
+++ b/filters/round.md
@@ -0,0 +1,35 @@
+---
+title: round
+---
+
+Rounds an input number to the nearest integer or, if a number is specified as an argument, to that number of decimal places.
+
+```liquid
+{% raw %}
+{{ 1.2 | round }}
+{% endraw %}
+```
+
+```text
+{{ 1.2 | round }}
+```
+
+```liquid
+{% raw %}
+{{ 2.7 | round }}
+{% endraw %}
+```
+
+```text
+{{ 2.7 | round }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | round: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | round: 2 }}
+```
diff --git a/filters/rstrip.md b/filters/rstrip.md
new file mode 100644
index 0000000..3aee7da
--- /dev/null
+++ b/filters/rstrip.md
@@ -0,0 +1,15 @@
+---
+title: rstrip
+---
+
+Removes all whitespace (tabs, spaces, and newlines) from the right side of a string.
+
+```liquid
+{% raw %}
+{{ " So much room for activities! " | rstrip }}
+{% endraw %}
+```
+
+```text
+{{ " So much room for activities! " | rstrip }}
+```
diff --git a/filters/size.md b/filters/size.md
new file mode 100644
index 0000000..0242459
--- /dev/null
+++ b/filters/size.md
@@ -0,0 +1,39 @@
+---
+title: size
+---
+
+Returns the number of characters in a string or the number of items in an array. `size` can also be used with dot notation (for example, `{% raw %}{{ my_string.size }}{% endraw %}`). This allows you to use `size` inside tags such as conditionals.
+
+```liquid
+{% raw %}
+{{ "Ground control to Major Tom." | size }}
+{% endraw %}
+```
+
+```text
+{{ "Ground control to Major Tom." | size }}
+```
+
+```liquid
+{% raw %}
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array | size }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}
+
+{{ my_array | size }}
+```
+
+Using dot notation:
+
+```liquid
+{% raw %}
+{% if site.pages.size > 10 %}
+ This is a big website!
+{% endif %}
+{% endraw %}
+```
diff --git a/filters/slice.md b/filters/slice.md
new file mode 100644
index 0000000..79aedad
--- /dev/null
+++ b/filters/slice.md
@@ -0,0 +1,49 @@
+---
+title: slice
+---
+
+Returns a substring of 1 character beginning at the index specified by the argument passed in. An optional second argument specifies the length of the substring to be returned.
+
+String indices are numbered starting from 0.
+
+```liquid
+{% raw %}
+{{ "Liquid" | slice: 0 }}
+{% endraw %}
+```
+
+```text
+{{ "Liquid" | slice: 0 }}
+```
+
+```liquid
+{% raw %}
+{{ "Liquid" | slice: 2 }}
+{% endraw %}
+```
+
+```text
+{{ "Liquid" | slice: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ "Liquid" | slice: 2, 5 }}
+{% endraw %}
+```
+
+```text
+{{ "Liquid" | slice: 2, 5 }}
+```
+
+If the first parameter is a negative number, the indices are counted from the end of the string:
+
+```liquid
+{% raw %}
+{{ "Liquid" | slice: -3, 2 }}
+{% endraw %}
+```
+
+```text
+{{ "Liquid" | slice: -3, 2 }}
+```
diff --git a/filters/sort.md b/filters/sort.md
new file mode 100644
index 0000000..4c3c599
--- /dev/null
+++ b/filters/sort.md
@@ -0,0 +1,19 @@
+---
+title: sort
+---
+
+Sorts items in an array by a property of an item in the array. The order of the sorted array is case-sensitive.
+
+```liquid
+{% raw %}
+{% assign my_array = "zebra, octopus, giraffe, Sally Snake" | split: ", " %}
+
+{{ my_array | sort | join: ", " }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "zebra, octopus, giraffe, Sally Snake" | split: ", " %}
+
+{{ my_array | sort | join: ", " }}
+```
diff --git a/filters/split.md b/filters/split.md
new file mode 100644
index 0000000..740b6b4
--- /dev/null
+++ b/filters/split.md
@@ -0,0 +1,23 @@
+---
+title: split
+---
+
+Divides an input string into an array using the argument as a separator. `split` is commonly used to convert comma-separated items from a string to an array.
+
+```liquid
+{% raw %}
+{% assign beatles = "John, Paul, George, Ringo" | split: ", " %}
+
+{% for member in beatles %}
+ {{ member }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+{% assign beatles = "John, Paul, George, Ringo" | split: ", " %}
+
+{% for member in beatles %}
+ {{ member }}
+{% endfor %}
+```
diff --git a/filters/strip.md b/filters/strip.md
new file mode 100644
index 0000000..588bbdf
--- /dev/null
+++ b/filters/strip.md
@@ -0,0 +1,15 @@
+---
+title: strip
+---
+
+Removes all whitespace (tabs, spaces, and newlines) from both the left and right side of a string. It does not affect spaces between words.
+
+```liquid
+{% raw %}
+{{ " So much room for activities! " | strip }}
+{% endraw %}
+```
+
+```text
+{{ " So much room for activities! " | strip }}
+```
diff --git a/filters/strip_html.md b/filters/strip_html.md
new file mode 100644
index 0000000..b41eafd
--- /dev/null
+++ b/filters/strip_html.md
@@ -0,0 +1,15 @@
+---
+title: strip_html
+---
+
+Removes any HTML tags from a string.
+
+```liquid
+{% raw %}
+{{ "Have you read Ulysses?" | strip_html }}
+{% endraw %}
+```
+
+```text
+{{ "Have you read Ulysses?" | strip_html }}
+```
diff --git a/filters/strip_newlines.md b/filters/strip_newlines.md
new file mode 100644
index 0000000..0a0d48d
--- /dev/null
+++ b/filters/strip_newlines.md
@@ -0,0 +1,26 @@
+---
+title: strip_newlines
+---
+
+Removes any newline characters (line breaks) from a string.
+
+```liquid
+{% raw %}
+{% capture string_with_newlines %}
+Hello
+there
+{% endcapture %}
+
+{{ string_with_newlines | strip_newlines }}
+{% endraw %}
+```
+
+```html
+{% capture string_with_newlines %}
+Hello
+there
+{% endcapture %}
+
+{{ string_with_newlines | strip_newlines }}
+```
+
diff --git a/filters/times.md b/filters/times.md
new file mode 100644
index 0000000..694959f
--- /dev/null
+++ b/filters/times.md
@@ -0,0 +1,35 @@
+---
+title: times
+---
+
+Multiplies a number by another number.
+
+```liquid
+{% raw %}
+{{ 3 | times: 2 }}
+{% endraw %}
+```
+
+```text
+{{ 3 | times: 2 }}
+```
+
+```liquid
+{% raw %}
+{{ 24 | times: 7 }}
+{% endraw %}
+```
+
+```text
+{{ 24 | times: 7 }}
+```
+
+```liquid
+{% raw %}
+{{ 183.357 | times: 12 }}
+{% endraw %}
+```
+
+```text
+{{ 183.357 | times: 12 }}
+```
diff --git a/filters/truncate.md b/filters/truncate.md
new file mode 100644
index 0000000..45f018d
--- /dev/null
+++ b/filters/truncate.md
@@ -0,0 +1,15 @@
+---
+title: truncate
+---
+
+`truncate` shortens a string down to the number of characters passed as a parameter. If the number of characters specified is less than the length of the string, an ellipsis (...) is appended to the string and is included in the character count.
+
+```liquid
+{% raw %}
+{{ "Ground control to Major Tom." | truncate: 20 }}
+{% endraw %}
+```
+
+```text
+{{ "Ground control to Major Tom." | truncate: 20 }}
+```
diff --git a/filters/truncatewords.md b/filters/truncatewords.md
new file mode 100644
index 0000000..c9ee849
--- /dev/null
+++ b/filters/truncatewords.md
@@ -0,0 +1,15 @@
+---
+title: truncatewords
+---
+
+Shortens a string down to the number of words passed as the argument. If the specified number of words is less than the number of words in the string, an ellipsis (...) is appended to the string.
+
+```liquid
+{% raw %}
+{{ "Ground control to Major Tom." | truncatewords: 3 }}
+{% endraw %}
+```
+
+```text
+{{ "Ground control to Major Tom." | truncatewords: 3 }}
+```
diff --git a/filters/uniq.md b/filters/uniq.md
new file mode 100644
index 0000000..7ff73b9
--- /dev/null
+++ b/filters/uniq.md
@@ -0,0 +1,19 @@
+---
+title: uniq
+---
+
+Removes any duplicate elements in an array.
+
+```liquid
+{% raw %}
+{% assign my_array = "ants, bugs, bees, bugs, ants" | split: ", " %}
+
+{{ my_array | uniq | join: ", " }}
+{% endraw %}
+```
+
+```text
+{% assign my_array = "ants, bugs, bees, bugs, ants" | split: ", " %}
+
+{{ my_array | uniq | join: ", " }}
+```
diff --git a/filters/upcase.md b/filters/upcase.md
new file mode 100644
index 0000000..2aa7f0d
--- /dev/null
+++ b/filters/upcase.md
@@ -0,0 +1,25 @@
+---
+title: upcase
+---
+
+Makes each character in a string uppercase. It has no effect on strings which are already all uppercase.
+
+```liquid
+{% raw %}
+{{ "Parker Moore" | upcase }}
+{% endraw %}
+```
+
+```text
+{{ "Parker Moore" | upcase }}
+```
+
+```liquid
+{% raw %}
+{{ "APPLE" | upcase }}
+{% endraw %}
+```
+
+```text
+{{ "APPLE" | upcase }}
+```
diff --git a/filters/url_encode.md b/filters/url_encode.md
new file mode 100644
index 0000000..68b10d1
--- /dev/null
+++ b/filters/url_encode.md
@@ -0,0 +1,25 @@
+---
+title: url_encode
+---
+
+Converts any URL-unsafe characters in a string into percent-encoded characters.
+
+```liquid
+{% raw %}
+{{ "john@liquid.com" | url_encode }}
+{% endraw %}
+```
+
+```text
+{{ "john@liquid.com" | url_encode }}
+```
+
+```liquid
+{% raw %}
+{{ "Tetsuro Takara" | url_encode }}
+{% endraw %}
+```
+
+```text
+{{ "Tetsuro Takara" | url_encode }}
+```
diff --git a/images/500px-logo.png b/images/500px-logo.png
new file mode 100644
index 0000000..7d86372
Binary files /dev/null and b/images/500px-logo.png differ
diff --git a/images/jekyll-logo.png b/images/jekyll-logo.png
new file mode 100644
index 0000000..374fb94
Binary files /dev/null and b/images/jekyll-logo.png differ
diff --git a/images/rails.png b/images/rails.png
deleted file mode 100644
index 2ca8381..0000000
Binary files a/images/rails.png and /dev/null differ
diff --git a/images/ruby.png b/images/ruby.png
deleted file mode 100644
index 258dad8..0000000
Binary files a/images/ruby.png and /dev/null differ
diff --git a/images/rubygems.png b/images/rubygems.png
deleted file mode 100644
index 06be988..0000000
Binary files a/images/rubygems.png and /dev/null differ
diff --git a/images/salesforcedesk-logo.png b/images/salesforcedesk-logo.png
new file mode 100644
index 0000000..26666c8
Binary files /dev/null and b/images/salesforcedesk-logo.png differ
diff --git a/images/zendesk-logo.png b/images/zendesk-logo.png
new file mode 100644
index 0000000..baeca7a
Binary files /dev/null and b/images/zendesk-logo.png differ
diff --git a/index.html b/index.html
deleted file mode 100644
index e23da8d..0000000
--- a/index.html
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
- Liquid Templating language
-
-
-
-
-
-
-
Ruby library for rendering safe templates which cannot affect the security of the server they are rendered
- on.
-
-
-
-
Liquid is an extraction from the e-commerce system Shopify. Shopify powers many thousands of e-commerce stores which all call for
- unique designs. For this we developed Liquid which allows our customers complete design freedom while
- maintaining the integrity of our servers.
-
-
Liquid has been in production use since June 2006 and is now used by many
- other hosted web applications.
-
-
It was developed for usage in Ruby on Rails web applications and
- integrates seamlessly as a plugin but it also works excellently as a stand alone library.
- Liquid is a sponsored and made possible by constant development from Shopify.
-
-
-
-
-
-
-
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..7ce0a6a
--- /dev/null
+++ b/index.md
@@ -0,0 +1,16 @@
+---
+layout: default
+---
+
+{% include home-banner.html %}
+
+## What is Liquid?
+
+Liquid is an open-source template language created by [Shopify](https://www.shopify.com) and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts.
+
+Liquid has been in production use since June 2006 and is now used by many other hosted web applications.
+
+## Who uses Liquid?
+
+{% include home-users-grid.html %}
+
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..316b602
--- /dev/null
+++ b/package.json
@@ -0,0 +1,16 @@
+{
+ "name": "liquid-docs",
+ "version": "0.1.0",
+ "devDependencies": {
+ "autoprefixer-core": "^5.2.1",
+ "grunt": "~0.4.1",
+ "grunt-autoprefixer": "^3.0.3",
+ "grunt-concurrent": "^1.0.0",
+ "grunt-contrib-concat": "^0.5.1",
+ "grunt-contrib-sass": "^0.9.2",
+ "grunt-contrib-watch": "^0.6.1",
+ "grunt-postcss": "^0.5.5",
+ "grunt-shell": "^1.1.2",
+ "load-grunt-tasks": "^3.1.0"
+ }
+}
diff --git a/tags/_theme.md b/tags/_theme.md
new file mode 100644
index 0000000..812ace5
--- /dev/null
+++ b/tags/_theme.md
@@ -0,0 +1,238 @@
+---
+title: Theme
+---
+
+
+Theme Tags have various functions, including:
+
+- Outputting template-specific HTML markup
+- Telling the theme which layout and snippets to use
+- Splitting a returned array into multiple pages.
+
+
+### comment
+
+
Allows you to leave un-rendered code inside a Liquid template. Any text within the opening and closing comment blocks will not be output, and any Liquid code within will not be executed.
+
+
+{% highlight html %}{% raw %}
+ My name is {% comment %}super{% endcomment %} Shopify.
+{% endraw %}{% endhighlight %}
+
+
+
+{% highlight html %}{% raw %}
+My name is Shopify.
+{% endraw %}{% endhighlight %}
+
+
+### include
+
+Inserts a snippet from the **snippets** folder of a theme.
+
+{% highlight html %}{% raw %}
+{% include 'snippet-name' %}
+{% endraw %}{% endhighlight %}
+
+Note that the .liquid extension is omitted in the above code.
+
+When a snippet is included, the code inside it will have access to the variables within its parent template.
+
+
Including multiple variables in a snippet
+
+There are two ways to include multiple variables in a snippet. You can assign and include them on different lines:
+
+{% highlight html %}{% raw %}
+{% assign snippet_variable = 'this is it' %}
+{% assign snippet_variable_two = 'this is also it' %}
+{% include 'snippet' %}
+{% endraw %}{% endhighlight %}
+
+Or you can consolidate them into one line of code:
+
+{% highlight html %}{% raw %}
+{% include 'snippet', snippet_variable: 'this is it', snippet_variable_two: 'this is also it' %}
+{% endraw %}{% endhighlight %}
+
+
parameters include
+
+### with
+
+The with parameter assigns a value to a variable inside a snippet that shares the same name as the snippet.
+
+For example, we can have a snippet named **color.liquid** which contains the following:
+
+{% highlight html %}{% raw %}
+color: '{{ color }}'
+shape: '{{ shape }}'
+{% endraw %}{% endhighlight %}
+
+Within **theme.liquid**, we can include the **color.liquid** snippet as follows:
+
+{% highlight html %}{% raw %}
+{% assign shape = 'circle' %}
+{% include 'color' %}
+{% include 'color' with 'red' %}
+{% include 'color' with 'blue' %}
+{% assign shape = 'square' %}
+{% include 'color' with 'red' %}
+{% endraw %}{% endhighlight %}
+
+The output will be:
+
+{% highlight html %}{% raw %}
+color: shape: 'circle'
+color: 'red' shape: 'circle'
+color: 'blue' shape: 'circle'
+color: 'red' shape: 'square'
+{% endraw %}{% endhighlight %}
+
+### form
+
+Creates an HTML <form> element with all the necessary attributes (action, id, etc.) and <input> to submit the form successfully.
+
+
parameters form
+
+### new_comment
+
+Generates a form for creating a new comment in the article.liquid template. Requires the article object as a parameter.
+
+
Input
+
+{% highlight html %}{% raw %}
+{% form "new_comment", article %}
+...
+{% endform %}
+{% endraw %}{% endhighlight %}
+
+
+
+
Output
+
+{% highlight html %}{% raw %}
+
+{% endraw %}{% endhighlight %}
+
+
+### layout
+
+Loads an alternate template file from the **layout** folder of a theme. If no alternate layout is defined, the **theme.liquid** template is loaded by default.
+
+{% highlight html %}{% raw %}
+
+{% layout 'alternate' %}
+{% endraw %}{% endhighlight %}
+
+If you don't want **any** layout to be used on a specific template, you can use none.
+
+{% highlight html %}{% raw %}
+{% layout none %}
+{% endraw %}{% endhighlight %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### paginate
+
+Splitting products, blog articles, and search results across multiple pages is a necessary component of theme design as you are limited to 50 results per page in any for loop.
+
+The paginate tag works in conjunction with the for tag to split content into numerous pages. It must wrap a for tag block that loops through an array, as shown in the example below:
+
+{% highlight html %}{% raw %}
+{% paginate collection.products by 5 %}
+ {% for product in collection.products %}
+
+ {% endfor %}
+{% endpaginate %}
+{% endraw %}{% endhighlight %}
+
+The by parameter is followed by an integer between 1 and 50 that tells the paginate tag how many results it should output per page.
+
+
+Within paginate tags, you can access attributes of the paginate object. This includes the attributes to output the links required to navigate within the generated pages.
+
+
+{% comment %}
+
+Accessing any attributes of the array you are paginating before the opening paginate tag will cause errors. To avoid this, make sure any variables
+
+
+**Bad Example**
+
+{% highlight html %}{% raw %}
+{{ collection.title }}
+{% paginate collection.products by 5 %}
+ {% for product in collection.products %}
+ {{ product.title }}
+ {% endfor %}
+{% endpaginate %}
+{% endraw %}{% endhighlight %}
+
+
+
+**Good Example**
+
+{% highlight html %}{% raw %}
+{% paginate collection.products by 5 %}
+ {% for product in collection.products %}
+
+ {% endfor %}
+{% endpaginate %}
+{% endraw %}{% endhighlight %}
+
Allows output of Liquid code on a page without being parsed.
+
+
Input
+
+
+
{% raw %}{{ 5 | plus: 6 }}{% endraw %} is equal to 11.
+
+
+
Output
+
+
+
{{ 5 | plus: 6 }} is equal to 11.
+
+
+
+
diff --git a/tags/control-flow.md b/tags/control-flow.md
new file mode 100644
index 0000000..976e663
--- /dev/null
+++ b/tags/control-flow.md
@@ -0,0 +1,90 @@
+---
+title: Control flow
+---
+
+Control flow tags can change the information Liquid shows using programming logic.
+
+## case/when
+
+Creates a switch statement to compare a variable with different values. `case` initializes the switch statement, and `when` compares its values.
+
+```liquid
+{% raw %}
+{% assign handle = 'cake' %}
+{% case handle %}
+ {% when 'cake' %}
+ This is a cake
+ {% when 'cookie' %}
+ This is a cookie
+ {% else %}
+ This is not a cake nor a cookie
+{% endcase %}
+{% endraw %}
+```
+
+```text
+This is a cake
+```
+
+## if
+
+Executes a block of code only if a certain condition is `true`.
+
+```liquid
+{% raw %}
+{% if product.title == 'Awesome Shoes' %}
+ These shoes are awesome!
+{% endif %}
+{% endraw %}
+```
+
+```text
+These shoes are awesome!
+```
+
+## unless
+
+The opposite of `if` – executes a block of code only if a certain condition is **not** met.
+
+```liquid
+{% raw %}
+{% unless product.title == 'Awesome Shoes' %}
+ These shoes are not awesome.
+{% endunless %}
+{% endraw %}
+```
+
+```text
+These shoes are not awesome.
+```
+
+This would be the equivalent of doing the following:
+
+```liquid
+{% raw %}
+{% if product.title != 'Awesome Shoes' %}
+ These shoes are not awesome.
+{% endif %}
+{% endraw %}
+```
+
+## elsif / else
+
+Adds more conditions within an `if` or `unless` block.
+
+```liquid
+{% raw %}
+
+{% if customer.name == 'kevin' %}
+ Hey Kevin!
+{% elsif customer.name == 'anonymous' %}
+ Hey Anonymous!
+{% else %}
+ Hi Stranger!
+{% endif %}
+{% endraw %}
+```
+
+```text
+Hey Anonymous!
+```
diff --git a/tags/iteration.md b/tags/iteration.md
new file mode 100644
index 0000000..fbc7902
--- /dev/null
+++ b/tags/iteration.md
@@ -0,0 +1,298 @@
+---
+title: Iteration
+---
+
+Iteration tags run blocks of code repeatedly.
+
+## for
+
+Repeatedly executes a block of code. For a full list of attributes available within a `for` loop, see [forloop (object)](https://docs.shopify.com/themes/liquid/objects/for-loops).
+
+```liquid
+{% raw %}
+ {% for product in collection.products %}
+ {{ product.title }}
+ {% endfor %}
+{% endraw %}
+```
+
+```text
+hat shirt pants
+```
+
+### break
+
+Causes the loop to stop iterating when it encounters the `break` tag.
+
+```liquid
+{% raw %}
+{% for i in (1..5) %}
+ {% if i == 4 %}
+ {% break %}
+ {% else %}
+ {{ i }}
+ {% endif %}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+1 2 3
+```
+
+### continue
+
+Causes the loop to skip the current iteration when it encounters the `continue` tag.
+
+```liquid
+{% raw %}
+{% for i in (1..5) %}
+ {% if i == 4 %}
+ {% continue %}
+ {% else %}
+ {{ i }}
+ {% endif %}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+1 2 3 5
+```
+
+## for (parameters)
+
+### limit
+
+Limits the loop to the specified number of iterations.
+
+```liquid
+{% raw %}
+
+{% for item in array limit:2 %}
+ {{ item }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+1 2
+```
+
+### offset
+
+Begins the loop at the specified index.
+
+```liquid
+{% raw %}
+
+{% for item in array offset:2 %}
+ {{ item }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+3 4 5 6
+```
+
+### range
+
+Defines a range of numbers to loop through. The range can be defined by both literal and variable numbers.
+
+```liquid
+{% for i in (3..5) %}
+ {{ i }}
+{% endfor %}
+
+{% raw %}
+{% assign num = 4 %}
+{% for i in (1..num) %}
+ {{ i }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+3 4 5
+1 2 3 4
+```
+
+### reversed
+
+Reverses the order of the loop.
+
+```liquid
+{% raw %}
+
+{% for item in array reversed %}
+ {{ item }}
+{% endfor %}
+{% endraw %}
+```
+
+```text
+6 5 4 3 2 1
+```
+
+## cycle
+
+Loops through a group of strings and outputs them in the order that they were passed as parameters. Each time `cycle` is called, the next string that was passed as a parameter is output.
+
+`cycle` must be used within a [for](#for) loop block.
+
+```liquid
+{% raw %}
+{% cycle 'one', 'two', 'three' %}
+{% cycle 'one', 'two', 'three' %}
+{% cycle 'one', 'two', 'three' %}
+{% cycle 'one', 'two', 'three' %}
+{% endraw %}
+```
+
+```text
+one
+two
+three
+one
+```
+
+Uses for `cycle` include:
+
+- applying odd/even classes to rows in a table
+- applying a unique class to the last product thumbnail in a row
+
+## cycle (parameters)
+
+`cycle` accepts a parameter called `cycle group` in cases where you need multiple `cycle` blocks in one template. If no name is supplied for the cycle group, then it is assumed that multiple calls with the same parameters are one group.
+
+## tablerow
+
+Generates an HTML table. Must be wrapped in opening `
+```
+
+## tablerow (parameters)
+
+### cols
+
+Defines how many columns the tables should have.
+
+```liquid
+{% raw %}
+{% tablerow product in collection.products cols:2 %}
+ {{ product.title }}
+{% endtablerow %}
+{% endraw %}
+```
+
+```html
+
+
+
+ Cool Shirt
+
+
+ Alien Poster
+
+
+
+
+ Batman Poster
+
+
+ Bullseye Shirt
+
+
+
+
+ Another Classic Vinyl
+
+
+ Awesome Jeans
+
+
+
+```
+
+#### limit
+
+Exits the tablerow after a specific index.
+
+```liquid
+{% raw %}
+{% tablerow product in collection.products cols:2 limit:3 %}
+ {{ product.title }}
+{% endtablerow %}
+{% endraw %}
+```
+
+### offset
+
+Starts the tablerow after a specific index.
+
+```liquid
+{% raw %}
+{% tablerow product in collection.products cols:2 offset:3 %}
+ {{ product.title }}
+{% endtablerow %}
+{% endraw %}
+```
+
+### range
+
+Defines a range of numbers to loop through. The range can be defined by both literal and variable numbers.
+
+```liquid
+{% raw %}
+
+
+{% assign num = 4 %}
+
+{% tablerow i in (1..num) %}
+ {{ i }}
+{% endtablerow %}
+
+
+
+
+
+{% tablerow i in (3..5) %}
+ {{ i }}
+{% endtablerow %}
+
+{% endraw %}
+```
diff --git a/tags/variable.md b/tags/variable.md
new file mode 100644
index 0000000..618e02b
--- /dev/null
+++ b/tags/variable.md
@@ -0,0 +1,109 @@
+---
+title: Variable
+---
+
+Variable tags create new Liquid variables.
+
+## assign
+
+Creates a new variable.
+
+```liquid
+{% raw %}
+{% assign my_variable = false %}
+{% if my_variable != true %}
+ This statement is valid.
+{% endif %}
+{% endraw %}
+```
+
+```text
+ This statement is valid.
+```
+
+Wrap a variable in quotations `"` to save it as a string.
+
+```liquid
+{% raw %}
+{% assign foo = "bar" %}
+{{ foo }}
+{% endraw %}
+```
+
+```text
+bar
+```
+
+## capture
+
+Captures the string inside of the opening and closing tags and assigns it to a variable. Variables created through `{% raw %}{% capture %}{% endraw %}` are strings.
+
+```liquid
+{% raw %}
+{% capture my_variable %}I am being captured.{% endcapture %}
+{{ my_variable }}
+{% endraw %}
+```
+
+```text
+I am being captured.
+```
+
+## increment
+
+Creates a new number variable, and increases its value by one every time it is called. The initial value is 0.
+
+```liquid
+{% raw %}
+{% increment my_counter %}
+{% increment my_counter %}
+{% increment my_counter %}
+{% endraw %}
+```
+
+```text
+0
+1
+2
+```
+
+Variables created through the `increment` tag are independent from variables created through `assign` or `capture`.
+
+In the example below, a variable named "var" is created through `assign`. The `increment` tag is then used several times on a variable with the same name. Note that the `increment` tag does not affect the value of "var" that was created through `assign`.
+
+```liquid
+{% raw %}
+{% assign var = 10 %}
+{% increment var %}
+{% increment var %}
+{% increment var %}
+{{ var }}
+{% endraw %}
+```
+
+```text
+0
+1
+2
+10
+```
+
+## decrement
+
+Creates a new number variable, and decreases its value by one every time it is called. The initial value is -1.
+
+```liquid
+{% raw %}
+{% decrement variable %}
+{% decrement variable %}
+{% decrement variable %}
+{% endraw %}
+```
+
+```text
+-1
+-2
+-3
+```
+
+Like [increment](#increment), variables declared inside `decrement` are independent from variables created through `assign` or `capture`.