signal-to-blog/templates/post.md
2024-11-10 17:47:58 +01:00

433 B

+++ title = "{{title}} ({{ date_title }})" date = {{ date }} draft = false

[taxonomies] tags = ["Signal to blog", "Journal"] +++

{% for msg in messages %}

{{ msg.time }}

{% if msg.attachments.len() == 0 %} {{- msg.content -}} {% else %} {% for path in msg.attachments %} {{ "{{" }} figure(src="./{{ path }}", caption=" {%- if loop.last -%} {{ msg.content }} {%- endif -%} " ){{ "}}" }} {%- endfor -%} {%- endif %} {% endfor %}