Begin work on input/output standardization

This commit is contained in:
Tetsuro
2015-12-04 20:31:06 -05:00
parent c51257692d
commit 95dc90e503
8 changed files with 16 additions and 87 deletions
+2 -1
View File
@@ -64,7 +64,7 @@ li {
/** Headings */ /** Headings */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 300; font-weight: bold;
} }
/** Links */ /** Links */
@@ -87,6 +87,7 @@ h1 {
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
text-decoration: underline;
} }
h3 { h3 {
+3 -17
View File
@@ -1,23 +1,9 @@
.content__item { .content__item {
margin-bottom: $spacing-unit * 2; margin-bottom: $spacing-unit * 2;
h3 {
text-decoration: underline;
}
} }
.content__list { .code--input {
&:before {
h1 { content: 'stuff'
font-weight: bold;
}
h2 {
font-weight: bold;
text-decoration: underline;
&:not(:first-child) {
margin-top: $spacing-unit * 2;
}
} }
} }
+1 -1
View File
@@ -2,7 +2,7 @@
title: Handles title: Handles
--- ---
sss A handle is used to access the attributes of a Liquid object. By default, the handle is the object's title in lowercase with any spaces and special characters replaced by hyphens (-). A handle is used to access the attributes of a Liquid object. By default, the handle is the object's title in lowercase with any spaces and special characters replaced by hyphens (-).
For example, a page with the title "About Us" can be accessed in Liquid via its handle `about-us` as shown below: For example, a page with the title "About Us" can be accessed in Liquid via its handle `about-us` as shown below:
+2 -2
View File
@@ -4,7 +4,7 @@ title: Operators
Liquid includes many logical and comparison operators. Liquid includes many logical and comparison operators.
### Basic Operators ## Basic Operators
<table> <table>
<tbody> <tbody>
@@ -63,7 +63,7 @@ You can use multiple operators in a tag:
{% endraw %}{% endhighlight %} {% endraw %}{% endhighlight %}
</div> </div>
### contains ## contains
`contains` checks for the presence of a substring inside a string. `contains` checks for the presence of a substring inside a string.
+1 -1
View File
@@ -79,7 +79,7 @@ The current user is
Arrays hold lists of variables of any type. Arrays hold lists of variables of any type.
#### Accessing items in arrays ### 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 a [for](/tags/#for) or [tablerow](/tags/#tablerow) tag.
@@ -1,15 +1,13 @@
--- ---
title: Control Flow
--- ---
TAGS!
## case/when ## case/when
<p>Creates a switch statement to compare a variable with different values. <code>case</code> initializes the switch statement, and <code>when</code> compares its values.</p> <p>Creates a switch statement to compare a variable with different values. <code>case</code> initializes the switch statement, and <code>when</code> compares its values.</p>
<p class="input">Input</p> <p >Input</p>
<div class="code--input">
<div>
{% highlight html %}{% raw %} {% highlight html %}{% raw %}
{% assign handle = 'cake' %} {% assign handle = 'cake' %}
{% case handle %} {% case handle %}
-11
View File
@@ -1,11 +0,0 @@
---
layout: default
---
sss
{{ site.collections["tags"] }}
{% for doc in site.collections["tags"].docs %}
{% endfor %}
+4 -49
View File
@@ -7,7 +7,7 @@ Variable Tags are used to create new Liquid variables.
### assign ## assign
<p>Creates a new variable.</p> <p>Creates a new variable.</p>
@@ -50,7 +50,7 @@ bar
</div> </div>
### capture ## capture
<p>Captures the string inside of the opening and closing tags and assigns it to a variable. Variables created through {&#37; capture &#37;} are strings.</p> <p>Captures the string inside of the opening and closing tags and assigns it to a variable. Variables created through {&#37; capture &#37;} are strings.</p>
@@ -72,46 +72,7 @@ I am being captured.
{% endraw %}{% endhighlight %} {% endraw %}{% endhighlight %}
</div> </div>
## increment
### increment
Creates a new number variable, and increases its value by one every time it is called. The initial value is 0. Creates a new number variable, and increases its value by one every time it is called. The initial value is 0.
@@ -161,13 +122,7 @@ In the example below, a variable named "var" is created through <code>assign</co
</div> </div>
## decrement
### decrement
Creates a new number variable, and decreases its value by one every time it is called. The initial value is -1. Creates a new number variable, and decreases its value by one every time it is called. The initial value is -1.