calepin 0.0.52

A Rust CLI for preprocessing Typst documents with executable code chunks
1
2
3
4
5
6
7
8
9
10
11
12
        {% if site.toc %}
        <aside class="calepin-website-toc{% if site.toc_floating %} is-floating{% endif %}">
            <p class="calepin-website-toc-title">On this page</p>
            <nav aria-label="On this page">
                <ul>
                    {% for item in site.toc %}
                    <li class="level-{{ item.level }}"><a href="{{ item.href }}">{{ item.label }}</a></li>
                    {% endfor %}
                </ul>
            </nav>
        </aside>
        {% endif %}