2023-03-04 22:36:08 -05:00

10 lines
221 B
Plaintext

{% from "./Node.njk" import Node %}
{% macro render(node, page) %}
<div class="{{ node.class }}">
{% for child in node.children %}
{{ Node(child.type, child, page) }}
{% endfor %}
</div>
{% endmacro %}