refactor: use nunjucks for templating
This commit is contained in:
parent
1962d21da7
commit
fb52a8ca86
6 changed files with 16 additions and 5 deletions
|
|
@ -1,5 +0,0 @@
|
|||
<nav>
|
||||
{{#each links}}
|
||||
<a href="#0">{{ this }}</a>
|
||||
{{/each}}
|
||||
</nav>
|
||||
5
fractal/src/components/01-atoms/footer/footer.njk
Normal file
5
fractal/src/components/01-atoms/footer/footer.njk
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<nav>
|
||||
{% for link in links %}
|
||||
<a href="#0">{{ link }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
Loading…
Add table
Add a link
Reference in a new issue