Move sunrise/sunset status to a macro #196

This commit is contained in:
2024-03-29 22:22:13 -04:00
parent 6cb6e2ef07
commit bb10ca48b4
3 changed files with 39 additions and 31 deletions

View File

@ -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>