From 29d9786cfa197fedf30a856033f875acb4e9fc5c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 20 Feb 2016 02:22:15 -0800 Subject: [PATCH] Update cookbook --- .../configuration_yaml_by_danichispa.markdown | 13 +++++++++++++ source/cookbook/index.markdown | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 source/_cookbook/configuration_yaml_by_danichispa.markdown diff --git a/source/_cookbook/configuration_yaml_by_danichispa.markdown b/source/_cookbook/configuration_yaml_by_danichispa.markdown new file mode 100644 index 00000000000..b211599c778 --- /dev/null +++ b/source/_cookbook/configuration_yaml_by_danichispa.markdown @@ -0,0 +1,13 @@ +--- +layout: page +title: "Configuration.yaml by Danichispa" +description: "" +date: 2016-02-20 02:19 -0800 +sidebar: true +comments: false +sharing: true +footer: true +ha_category: Example configuration.yaml +ha_external_link: https://github.com/danichispa/hass-config +--- + diff --git a/source/cookbook/index.markdown b/source/cookbook/index.markdown index bcc852d9453..4ee992e1a87 100644 --- a/source/cookbook/index.markdown +++ b/source/cookbook/index.markdown @@ -14,7 +14,7 @@ hide_github_edit: true This is a community currated list of different ways to use Home Assistant. New recipes can be added via the [home-assistant.io repository](https://github.com/balloob/home-assistant.io/tree/master/source/_cookbook). {% assign cookbook = site.cookbook | sort: 'title' %} -{% assign categories = cookbook | sort: 'ha_category' | map: 'ha_category' | uniq %} +{% assign categories = cookbook | map: 'ha_category' | uniq | sort %} {% for category in categories %} ### {% linkable_title {{ category }} %} @@ -27,7 +27,7 @@ Some users keep a public scrubbed copy of their `configuration.yaml` to learn fr {% endif %} - {% for recipe in site.cookbook %} + {% for recipe in cookbook %} {% if recipe.ha_category == category %} {% if recipe.ha_external_link %} * [{{recipe.title}} ]({{recipe.ha_external_link}})