diff --git a/_config.yml b/_config.yml index e4682e21..1e275b9e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,28 +1,21 @@ +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: pretty 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 values: layout: "default" - - scope: - path: "basics" - values: - type: "basics" - - scope: - path: "filters" - values: - type: "filters" - - scope: - path: "tags" - values: - type: "tags" diff --git a/_data/site.yml b/_data/site.yml deleted file mode 100644 index 9c60ea98..00000000 --- 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/_includes/sidebar.html b/_includes/sidebar.html new file mode 100644 index 00000000..bd262e1e --- /dev/null +++ b/_includes/sidebar.html @@ -0,0 +1,28 @@ + diff --git a/_layouts/default.html b/_layouts/default.html index 28a03eb8..41cf3522 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,12 +1,12 @@ - {% if page.title %}{{ page.title }} – {% endif %}{{ site.data.site.title }} + {% if page.title %}{{ page.title }} – {% endif %}{{ site.title }} - + @@ -16,68 +16,7 @@ - + {% include sidebar.html %}
diff --git a/basics/truthy-and-falsy.md b/basics/truthy-and-falsy.md index fa09b2c9..732a650f 100644 --- a/basics/truthy-and-falsy.md +++ b/basics/truthy-and-falsy.md @@ -1,5 +1,5 @@ --- -title: Truthy and Falsy +title: Truthy and falsy --- 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. diff --git a/feed.xml b/feed.xml index 3aede089..a6628bd8 100644 --- a/feed.xml +++ b/feed.xml @@ -4,8 +4,8 @@ layout: null - {{ site.data.site.title | xml_escape }} - {{ site.data.site.description | xml_escape }} + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} {{ site.url }}{{ site.baseurl }}/ {{ site.time | date_to_rfc822 }} diff --git a/index.md b/index.md index 5fa664e6..538410ba 100644 --- a/index.md +++ b/index.md @@ -4,7 +4,7 @@ layout: default {% include home-banner.html %} -Liquid is an open-source template language created by [Shopify](https://www.shopify.com) and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Liquid is also used in static site genrators like [Jekyll](http://jekyllrb.com). +Liquid is an open-source template language created by [Shopify](https://www.shopify.com) and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Liquid is also used in static site generators like [Jekyll](http://jekyllrb.com). Liquid has been in production use since June 2006 and is now used by many other hosted web applications. diff --git a/tags/control-flow.md b/tags/control-flow.md index b041fc31..ef54b59f 100644 --- a/tags/control-flow.md +++ b/tags/control-flow.md @@ -1,6 +1,5 @@ ---- -title: Control Flow ---- + +title: Control flow ## case/when