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

View File

@@ -1,5 +1,6 @@
---
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).

View File

@@ -1,5 +1,6 @@
---
title: Operators
description: Using operators to perform calculations in the Liquid template language.
---
Liquid includes many logical and comparison operators.

View File

@@ -1,5 +1,6 @@
---
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.

View File

@@ -1,5 +1,6 @@
---
title: Types
description: An overview of data types in the Liquid template language.
---
Liquid objects can have one of six types:

View File

@@ -1,5 +1,6 @@
---
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.

View File

@@ -1,5 +1,6 @@
---
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.

View File

@@ -1,16 +1,3 @@
---
title: Tags
type: index
redirect_to: /liquid/tags/control-flow
---
**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 %}

View File

@@ -1,5 +1,6 @@
---
title: Iteration
description: An overview of iteration or 'loop' tags in the Liquid template language.
---
Iteration tags run blocks of code repeatedly.

View File

@@ -1,5 +1,6 @@
---
title: Variable
description: An overview of tags for creating variables in the Liquid template language.
---
Variable tags create new Liquid variables.