calepin 0.0.16

A Rust CLI for preprocessing Typst documents with executable code chunks
1
2
3
4
5
6
7
8
9
10
11
{% if site.scripts %}
{% for script in site.scripts -%}
    <script src="{{ script }}"></script>
{% endfor -%}
{% else %}
{% for script in scripts -%}
    <script>
{{ script.content }}
    </script>
{% endfor -%}
{% endif %}