From e3d71518ec367c19ebb84c1e4982db5820db35ca Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 30 Apr 2017 20:41:06 -0700 Subject: [PATCH] Fix template example --- source/_components/rss_feed_template.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/rss_feed_template.markdown b/source/_components/rss_feed_template.markdown index 29fe5ca44c6..2ab720f43cd 100644 --- a/source/_components/rss_feed_template.markdown +++ b/source/_components/rss_feed_template.markdown @@ -21,10 +21,10 @@ E.g. on android, the app "Simple RSS Widget" can be used to display temperatures rss_feed_template: garden: requires_api_password: False - title: "Garden {{ as_timestamp(now())|timestamp_custom('%H:%m', True) }}" + title: "Garden {% raw %}{{ as_timestamp(now())|timestamp_custom('%H:%m', True) }}{% endraw %}" items: - title: "Outside temperature" - description: "{% if is_state('sensor.temp_outside','unknown') %}---{% else %}{{states.sensor.temp_outside.state}} °C{% endif %}" + description: "{% raw %}{% if is_state('sensor.temp_outside','unknown') %}---{% else %}{{states.sensor.temp_outside.state}} °C{% endif %}{% endraw %}" ``` Configuration variables: