refactor: use nunjucks for templating

This commit is contained in:
Oliver Davies 2023-01-01 19:57:59 +00:00
parent 1962d21da7
commit fb52a8ca86
6 changed files with 16 additions and 5 deletions

View file

@ -1,5 +0,0 @@
<nav>
{{#each links}}
<a href="#0">{{ this }}</a>
{{/each}}
</nav>

View file

@ -0,0 +1,5 @@
<nav>
{% for link in links %}
<a href="#0">{{ link }}</a>
{% endfor %}
</nav>