{%- if text is string -%}
{{ text }}
{%- else -%}
{{- text|join(" ") -}}
{%- endif -%}
{% endmacro %}
{# this is currently just the text part of the boxes #}
{% macro build_box(reason, url, number) -%}
Build {{ number }}
{%- endmacro %}
{% macro step_box(text, logs, urls) -%}
{%- if text is string -%}
{{ text }}
{%- else -%}
{{- text|join(" ") -}}
{%- endif -%}
{%- for l in logs %}
{{ l.name|e }}
{%- endfor -%}
{%- for u in urls %}
[{{ u.name|e }}]
{%- endfor -%}
{%- endmacro %}