diff --git a/.gitignore b/.gitignore index ca35be0..7e4b3b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,40 @@ -_site +_site/ +.sass-cache/ + +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Packages # +############ +# it's better to unpack these files and commit the raw source +# git has its own built in compression methods +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Logs and databases # +###################### +*.log +*.sql +*.sqlite + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db \ No newline at end of file diff --git a/images/rails.png b/images/rails.png deleted file mode 100644 index 2ca8381..0000000 Binary files a/images/rails.png and /dev/null differ diff --git a/images/ruby.png b/images/ruby.png deleted file mode 100644 index 258dad8..0000000 Binary files a/images/ruby.png and /dev/null differ diff --git a/images/rubygems.png b/images/rubygems.png deleted file mode 100644 index 06be988..0000000 Binary files a/images/rubygems.png and /dev/null differ diff --git a/index.html b/index.html index e23da8d..83d9398 100644 --- a/index.html +++ b/index.html @@ -1,277 +1,23 @@ - +--- +layout: default +--- - - - +
- Liquid Templating language - - - - - - -
- - -
- - -
-

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.

- -

Liquid has been in production use since June 2006 and is now used by many - other hosted web applications.

- -

It was developed for usage in Ruby on Rails web applications and - integrates seamlessly as a plugin but it also works excellently as a stand alone library.

- -

What does it look like?

- -

Example snippet:

- - - - - -
-
-<ul id="products">
-  {% for product in products %}
-    <li>
-      <h2>{{ product.title }}</h2>
-      Only {{ product.price | format_as_money }}
-
-      <p>{{ product.description | prettyprint | truncate: 200  }}</p>
-
-    </li>
-  {% endfor %}
-</ul>
-
-
- -

Code to render

- - - - - -
-
-Liquid::Template.parse(template).render 'products' => Product.find(:all)
-
- -
- -

How do I get it?

- - - - - - - - - - - - - - - - - - - - - - - - - -
Rubygems -

Rubygems

- -

gem install liquid

-
Ruby on Rails -

Ruby on Rails plugin

-

Rails 3.0

-

Add gem 'liquid' to your Gemfile.

- -

Rails 2.3

-

./script/plugin install \ -   git://github.com/Shopify/liquid.git

-
Ruby -

Download Release

- -

from RubyGems

-
Ruby -

Git Clone

- -

from Github

-
-
- -
- Liquid is a sponsored and made possible by constant development from Shopify. -
-
- - -
- - +