mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Update cookbook
This commit is contained in:
parent
e77de1974e
commit
29d9786cfa
13
source/_cookbook/configuration_yaml_by_danichispa.markdown
Normal file
13
source/_cookbook/configuration_yaml_by_danichispa.markdown
Normal file
@ -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
|
||||
---
|
||||
|
@ -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}} <i class="icon-external-link"></i>]({{recipe.ha_external_link}})
|
||||
|
Loading…
x
Reference in New Issue
Block a user