Move sunrise/sunset status to a macro #196
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
|
||||
{% from 'formatting.jinja' import cleanup %}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, today_is %}
|
||||
{% from 'speech.jinja' import greeting, today_is, sun_status %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_updates %}
|
||||
<p>
|
||||
@ -13,6 +13,10 @@
|
||||
{{ today_is() }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ sun_status() }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ weatherReport('full','tts') }}
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user