Add descriptions for remaining pages

This commit is contained in:
Adam Hollett
2016-11-09 09:11:47 -05:00
parent d4d3d1a8e7
commit 1fe6b24d47
9 changed files with 9 additions and 14 deletions
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Introduction title: Introduction
description: An overview of objects, tags, and filters in the Liquid template language.
--- ---
Liquid code can be categorized into [**objects**](#objects), [**tags**](#tags), and [**filters**](#filters). Liquid code can be categorized into [**objects**](#objects), [**tags**](#tags), and [**filters**](#filters).
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Operators title: Operators
description: Using operators to perform calculations in the Liquid template language.
--- ---
Liquid includes many logical and comparison operators. Liquid includes many logical and comparison operators.
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Truthy and falsy title: Truthy and falsy
description: An overview of boolean logic in the Liquid template language.
--- ---
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. 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.
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Types title: Types
description: An overview of data types in the Liquid template language.
--- ---
Liquid objects can have one of six types: Liquid objects can have one of six types:
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Whitespace control title: Whitespace control
description: An overview of controlling whitespace between code in the Liquid template language.
--- ---
In Liquid, you can include a hyphen in your tag syntax `{% raw %}{{-{% endraw %}`, `{% raw %}-}}{% endraw %}`, `{% raw %}{%-{% endraw %}`, and `{% raw %}-%}{% endraw %}` to strip whitespace from the left or right side of a rendered tag. In Liquid, you can include a hyphen in your tag syntax `{% raw %}{{-{% endraw %}`, `{% raw %}-}}{% endraw %}`, `{% raw %}{%-{% endraw %}`, and `{% raw %}-%}{% endraw %}` to strip whitespace from the left or right side of a rendered tag.
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Control flow title: Control flow
description: An overview of control flow and conditional tags in the Liquid template language.
--- ---
Control flow tags can change the information Liquid shows using programming logic. Control flow tags can change the information Liquid shows using programming logic.
+1 -14
View File
@@ -1,16 +1,3 @@
--- ---
title: Tags redirect_to: /liquid/tags/control-flow
type: index
--- ---
**Tags** create the logic and control flow for templates. They are denoted by curly braces and percent signs: {% raw %}`{%` and `%}`{% 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.
{% assign tag_pages = site.pages | where: 'type', 'tag' %}
{% for item in tag_pages %}
## [{{ item.title }}]({{ item.url | prepend: site.baseurl }})
{{ item.content }}
{% endfor %}
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Iteration title: Iteration
description: An overview of iteration or 'loop' tags in the Liquid template language.
--- ---
Iteration tags run blocks of code repeatedly. Iteration tags run blocks of code repeatedly.
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Variable title: Variable
description: An overview of tags for creating variables in the Liquid template language.
--- ---
Variable tags create new Liquid variables. Variable tags create new Liquid variables.