Add some inspirational quotes to our briefings
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
>
|
||||
{# Daily Briefing #}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, dadjoke %}
|
||||
{% from 'speech.jinja' import greeting, dadjoke, inspirational_quote %}
|
||||
{% from 'time.jinja' import input_datetime_12hr %}
|
||||
<p>
|
||||
{{ greeting() }}
|
||||
@ -446,6 +446,10 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
And now, one more thing before I go. {{ inspirational_quote() }}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
>
|
||||
{# Kallen Morning Briefing #}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'time.jinja' import current_time_12hr, current_date_readout, input_datetime_12hr%}
|
||||
{% from 'speech.jinja' import dadjoke %}
|
||||
{% from 'time.jinja' import current_time_12hr, current_date_readout, input_datetime_12hr %}
|
||||
{% from 'speech.jinja' import dadjoke, inspirational_quote %}
|
||||
<p>
|
||||
Good morning, Collin.
|
||||
|
||||
@ -178,6 +178,10 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
And now, one more thing before I go. {{ inspirational_quote() }}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text #}
|
||||
|
@ -1,7 +1,7 @@
|
||||
>
|
||||
{# Morning Briefing #}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting_nodate, dadjoke %}
|
||||
{% from 'speech.jinja' import greeting_nodate, dadjoke, inspirational_quote %}
|
||||
{% from 'time.jinja' import input_datetime_12hr %}
|
||||
<p>
|
||||
{{ greeting_nodate() }}
|
||||
@ -224,6 +224,10 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
And finally, here is a bit of inspiration to start your day. {{ inspirational_quote() }}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
{# Nightly Briefing #}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, dadjoke %}
|
||||
{% from 'time.jinja' import input_datetime_12hr, read_time_from_calendar %}
|
||||
{% from 'time.jinja' import input_datetime_12hr, read_time_from_calendar, inspirational_quote %}
|
||||
<p>
|
||||
{{ greeting() }}
|
||||
</p>
|
||||
@ -276,6 +276,10 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
One last thing before I go. {{ inspirational_quote() }}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text #}
|
||||
|
Reference in New Issue
Block a user