diff --git a/_config.yml b/_config.yml index fa78c57c154..119a41a4ed1 100644 --- a/_config.yml +++ b/_config.yml @@ -66,6 +66,8 @@ default_asides: [post/sharing.html, asides/recent_posts.html, asides/github.html collections: components: output: true + cookbook: + output: true # ----------------------- # # 3rd Party Settings # diff --git a/source/cookbook/automation_for_rainy_days.markdown b/source/_cookbook/automation_for_rainy_days.markdown similarity index 100% rename from source/cookbook/automation_for_rainy_days.markdown rename to source/_cookbook/automation_for_rainy_days.markdown diff --git a/source/cookbook/automation_sun.markdown b/source/_cookbook/automation_sun.markdown similarity index 100% rename from source/cookbook/automation_sun.markdown rename to source/_cookbook/automation_sun.markdown diff --git a/source/cookbook/basic_example_use_trigger_values.markdown b/source/_cookbook/basic_example_use_trigger_values.markdown similarity index 100% rename from source/cookbook/basic_example_use_trigger_values.markdown rename to source/_cookbook/basic_example_use_trigger_values.markdown diff --git a/source/cookbook/dim_lights_when_playing_media.markdown b/source/_cookbook/dim_lights_when_playing_media.markdown similarity index 100% rename from source/cookbook/dim_lights_when_playing_media.markdown rename to source/_cookbook/dim_lights_when_playing_media.markdown diff --git a/source/cookbook/turn_on_light_for_10_minutes_when_motion_detected.markdown b/source/_cookbook/turn_on_light_for_10_minutes_when_motion_detected.markdown similarity index 100% rename from source/cookbook/turn_on_light_for_10_minutes_when_motion_detected.markdown rename to source/_cookbook/turn_on_light_for_10_minutes_when_motion_detected.markdown diff --git a/source/cookbook/index.markdown b/source/cookbook/index.markdown index df2a288884d..bf1bcee1d10 100644 --- a/source/cookbook/index.markdown +++ b/source/cookbook/index.markdown @@ -10,18 +10,14 @@ footer: true --- This is a community currated list of `configuration.yaml` examples. New recipes can be added via -the [home-assistant.io repository](https://github.com/balloob/home-assistant.io/tree/master/source/cookbook). +the [home-assistant.io repository](https://github.com/balloob/home-assistant.io/tree/master/source/_cookbook). -#### Recipes - -{% directory path:cookbook exclude:index %} - * [{{ file.slug | replace: '_',' ' | capitalize }}]({{ file.slug | prepend: '/cookbook/' | append: '.html' }}) -{% enddirectory %} +{% for recipe in site.cookbook %} + * [{{recipe.title}}]({{recipe.url}}) +{% endfor %} #### Configuration.yaml Gists -- [Carlo Costanzo](https://github.com/CCOSTAN) - [Configuration.yaml](https://gist.github.com/CCOSTAN/9934de973a293b809868) +Some users keep a public scrubbed copy of their `configuration.yaml` to learn from. -

- Please be sure to properly scrub your configuration.yaml of usernames, passwords and other personal information you do not want public before sharing on this page. -

+- [Configuration.yaml by Carlo Costanzo](https://gist.github.com/CCOSTAN/9934de973a293b809868)