Removed Objects section

This commit is contained in:
Tetsuro
2015-07-25 16:50:24 -04:00
parent d9a08801c5
commit a3ceafbcd0
7 changed files with 6 additions and 43 deletions

View File

@@ -6,8 +6,6 @@ permalink: /:year/:month/:day/:basename:output_ext
collections:
filters:
output: true
objects:
output: true
tags:
output: true
exclude:
@@ -22,12 +20,6 @@ defaults:
type: "filters"
values:
layout: "default"
-
scope:
path: ""
type: "objects"
values:
layout: "default"
-
scope:
path: ""

View File

@@ -1,11 +0,0 @@
---
title: join
---
`join` joins the elements of an array, using the character you provide.
| Code | Output |
|-------------------------------------------------------:|:-------------------|
| {% raw %}`{{ product.tags | join: ', ' }}`{% endraw %} | `"sale, mens, womens, awesome` |
In the sample above, assume that `product.tags` resolves to: `["sale", "mens", "womens", "awesome"]`.

View File

@@ -1,11 +0,0 @@
---
title: last
---
Return the last element of an array.
| Code | Output |
|-------------------------------------------------------:|:-------------------|
| {% raw %}`{{ product.tags | last }}`{% endraw %} | `"awesome"` |
In the sample above, assume that `product.tags` resolves to: `["sale", "mens", "womens", "awesome"]`.

View File

@@ -1,9 +0,0 @@
---
title: lstrip
---
Strips all whitespace (tabs, spaces, and newlines) from the left side of a string.
| Code | Output |
|-------------------------------------------------------:|:-------------------|
| {% raw %}`{{ ' too many spaces ' | lstrip }}`{% endraw %} | `"too many spaces "` |

View File

@@ -20,6 +20,7 @@
.btn-row {
display: flex;
justify-content: center;
margin-bottom: 0;
.btn:not(:first-child) {
margin-left: $spacing-unit / 2;

View File

@@ -1,5 +1,8 @@
.home--banner {
text-align: center;
border-bottom: 1px solid lighten($color-slate, 50%);
padding-bottom: $spacing-unit;
margin-bottom: $spacing-unit;
h1 {
font-weight: bold;

View File

@@ -8,13 +8,11 @@ layout: default
<h1>Liquid</h1>
<p>Ruby library for rendering safe templates which cannot affect the security of the server they are rendered on.</p>
<p class="btn-row">
<a class="btn"><i class="icon fa fa-2x fa-arrow-circle-down"></i>Download</a>
<a class="btn"><i class="icon fa fa-2x fa-github"></i>View on Github</a>
<a href="https://github.com/Shopify/liquid/archive/master.zip" target="_blank" class="btn"><i class="icon fa fa-2x fa-arrow-circle-down"></i>Download</a>
<a href="https://github.com/Shopify/liquid" target="_blank" class="btn"><i class="icon fa fa-2x fa-github"></i>View on Github</a>
</p>
</header>
<hr/>
<p>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.</p>
<p>Liquid has been in production use since June 2006 and is now used by many other hosted web applications.</p>