Placeholder for the announcement content
This commit is contained in:
21
templates/speech/welcome_home.yaml
Normal file
21
templates/speech/welcome_home.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
>
|
||||
{# Script Name Here #}
|
||||
{%- macro getReport() -%}
|
||||
<p>
|
||||
Oh dear, I seem to have forgotten how to welcome you home!
|
||||
</p>
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text #}
|
||||
{%- macro cleanup(data) -%}
|
||||
{%- for item in data.split("\n") if item | trim != "" -%}
|
||||
{{ item | trim }} {% endfor -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro to call all macros :) #}
|
||||
{%- macro mother_of_all_macros() -%}
|
||||
{{ getReport() }}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Call the macro #}
|
||||
{{- cleanup(mother_of_all_macros()) -}}
|
Reference in New Issue
Block a user