diff --git a/_config.yml b/_config.yml
index e4682e2..4f02ad0 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,14 +1,19 @@
+title: Liquid Templating Engine
+description: "Liquid is a template language and accompanying rendering engine. It is built for security, so is perfect for rendering custom templates from your users."
+
# Build settings
-baseurl: "" # the subpath of your site, e.g. /blog/
-url: "http://liquidmarkup.org" # the base hostname & protocol for your site
-markdown: kramdown
-highlighter: pygments
-permalink: /:year/:month/:day/:basename:output_ext
+baseurl: "" # the subpath of your site, e.g. /blog/
+url: http://liquidmarkup.org # the base hostname & protocol for your site
+markdown: kramdown
+highlighter: pygments
+permalink: /:year/:month/:day/:basename:output_ext
exclude:
- README.md
- CNAME
- node_modules
-keep_files: ['css']
+keep_files: ['css']
+
+# Front matter defaults
defaults:
- scope:
path: "" # an empty string here means all files in the project
diff --git a/_data/site.yml b/_data/site.yml
deleted file mode 100644
index 9c60ea9..0000000
--- a/_data/site.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# Site settings
-title: Liquid Templating Engine
-description: > # this means to ignore newlines until "baseurl:"
- Liquid is a template language and accompanying rendering engine.
- It is built for security, so is perfect for rendering custom
- templates from your users.
diff --git a/_layouts/default.html b/_layouts/default.html
index 28a03eb..1c507a1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -1,12 +1,12 @@
Creates a switch statement to compare a variable with different values. case initializes the switch statement, and when compares its values.
-
-
Input
-
-
-{% highlight html %}{% raw %}
-{% assign handle = 'cake' %}
-{% case handle %}
- {% when 'cake' %}
- This is a cake
- {% when 'cookie' %}
- This is a cookie
- {% else %}
- This is not a cake nor a cookie
-{% endcase %}
-{% endraw %}{% endhighlight %}
-
-
-
Output
-
-
-{% highlight html %}{% raw %}
-This is a cake
-{% endraw %}{% endhighlight %}
-
Similar to if, but executes a block of code only if a certain condition is not met.
-
-
Input
-
-
-{% highlight html %}{% raw %}
- {% unless product.title == 'Awesome Shoes' %}
- These shoes are not awesome.
- {% endunless %}
-{% endraw %}{% endhighlight %}
-
-
-
Output
-
-
-{% highlight html %}{% raw %}
-These shoes are not awesome.
-{% endraw %}{% endhighlight %}
-
-
-This would be the equivalent of doing the following:
-
-
-{% highlight html %}{% raw %}
- {% if product.title != 'Awesome Shoes' %}
- These shoes are not awesome.
- {% endif %}
-{% endraw %}{% endhighlight %}
-