diff --git a/_includes/sidebar.html b/_includes/sidebar.html index d299b801..04ea6be6 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -9,7 +9,7 @@ {% endfor %} diff --git a/_sass/modules/_base.scss b/_sass/modules/_base.scss index f8de1401..635fcdcc 100644 --- a/_sass/modules/_base.scss +++ b/_sass/modules/_base.scss @@ -180,13 +180,6 @@ table { } } -td { - code { - border: none; - background: none; - } -} - p { line-height: 1.8; } diff --git a/_sass/modules/_layout.scss b/_sass/modules/_layout.scss index 457154d2..2fe65865 100644 --- a/_sass/modules/_layout.scss +++ b/_sass/modules/_layout.scss @@ -1,5 +1,5 @@ -$sidebar-width: 225px; +$sidebar-width: 250px; $logo-height: 130px; $wrapper-width: 800px; diff --git a/basics/operators.md b/basics/operators.md index cea6ebf4..f10822dc 100644 --- a/basics/operators.md +++ b/basics/operators.md @@ -9,35 +9,35 @@ Liquid includes many logical and comparison operators. - + - + - + - + - + - + - + - + @@ -65,7 +65,7 @@ You can use multiple operators in a tag: ## contains -`contains` checks for the presence of a substring inside a string. +`contains` checks for the codesence of a substring inside a string. ```liquid {% raw %} @@ -75,7 +75,7 @@ You can use multiple operators in a tag: {% endraw %} ``` -`contains` can also check for the presence of a string in an array of strings. +`contains` can also check for the codesence of a string in an array of strings. ```liquid {% raw %} diff --git a/basics/types.md b/basics/types.md index 0deb4839..b12a9aa6 100644 --- a/basics/types.md +++ b/basics/types.md @@ -79,7 +79,7 @@ Arrays hold lists of variables of any type. ### Accessing items in arrays -To access all of the items in an array, you can loop through each item in the array using a [for](/tags/#for) or [tablerow](/tags/#tablerow) tag. +To access all of the items in an array, you can loop through each item in the array using an [iteration tag](/tags/iteration/). ```liquid {% raw %} @@ -119,11 +119,11 @@ Adam You cannot initialize arrays using pure Liquid. -You can, however, use the [split](/filters/#split) filter to break a single string into an array of substrings. +You can, however, use the [split](/filters/split) filter to break a single string into an array of substrings. ## EmptyDrop -An EmptyDrop object is returned if you try to access a deleted object (such as a page or post) by its [handle](/basics/#Handles). In the example below, `page_1`, `page_2` and `page_3` are all EmptyDrop objects. +An EmptyDrop object is returned if you try to access a deleted object (such as a page or post) by its handle. In the example below, `page_1`, `page_2` and `page_3` are all EmptyDrop objects. ```liquid {% raw %} diff --git a/tags/iteration.md b/tags/iteration.md index 6c2eae30..9648c136 100644 --- a/tags/iteration.md +++ b/tags/iteration.md @@ -62,9 +62,9 @@ Causes the loop to skip the current iteration when it encounters the `continue` 1 2 3 5 ``` -### for parameters +## for (parameters) -#### limit +### limit Exits the for loop at a specific index. @@ -81,7 +81,7 @@ Exits the for loop at a specific index. 1 2 ``` -#### offset +### offset Starts the for loop at a specific index. @@ -98,7 +98,7 @@ Starts the for loop at a specific index. 3 4 5 6 ``` -#### range +### range Defines a range of numbers to loop through. The range can be defined by both literal and variable numbers. @@ -120,7 +120,7 @@ Defines a range of numbers to loop through. The range can be defined by both lit 3 4 5 ``` -#### reversed +### reversed Reverses the order of the for loop. @@ -164,11 +164,11 @@ 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 (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 +## tablerow Generates an HTML table. Must be wrapped in opening `
==
== equals
!=
!= does not equal
>
> greater than
<
< less than
>=
>= greater than or equal to
<=
<= less than or equal to
or
or logical or
and
and logical and
` and closing `
` HTML tags. @@ -207,7 +207,7 @@ Generates an HTML table. Must be wrapped in opening `` and closing ` ``` -### tablerow parameters +## tablerow (parameters) #### cols