fix: template brok on multiple images
This commit is contained in:
parent
b2c44e9003
commit
3092ce7f5f
|
@ -15,10 +15,11 @@ tags = ["Signal to blog"]
|
||||||
{{- msg.content -}}
|
{{- msg.content -}}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for path in msg.attachments %}
|
{% for path in msg.attachments %}
|
||||||
{{ "{{" }} figure(src="./{{ path }}" {% if loop.last -%}
|
{{ "{{" }} figure(src="./{{ path }}", caption="
|
||||||
, caption="{{ msg.content }}"
|
{%- if loop.last -%}
|
||||||
|
{{ msg.content }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
" ){{ "}}" }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
) {{ "}}" }}
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue