Template macros

This commit is contained in:
2023-04-05 20:08:52 -04:00
parent bb37a240d0
commit 2ec072af86
12 changed files with 111 additions and 84 deletions

View File

@ -1,8 +1,11 @@
>
{# Nightly Briefing #}
{%- macro getReport() -%}
{% from 'speech.jinja' import greeting %}
<p>
{{ greeting() }}
</p>
<p>
"Good evening. It is {{ now().strftime("%I:%M %p") }}. "
{{ [
"Before the day comes to a close, here are my thoughts. Just kidding, I am a computer, I do not think. ",
"The day grows short, let us gather around the campfire for an epic tale of things to come. ",