feat: convert templates from njk to html
Note: Nunjucks will still process the templates, but this way they can be plain HTML files and will be formatted properly.
This commit is contained in:
parent
d666ef0731
commit
a5526174ba
11 changed files with 107 additions and 10 deletions
20
src/_includes/partials/menu.html
Normal file
20
src/_includes/partials/menu.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<nav aria-label="Main">
|
||||
Menu.
|
||||
<ul>
|
||||
{% for item in navigation.top %}
|
||||
<li>
|
||||
<a
|
||||
class="nav"
|
||||
href="{{ item.url }}"
|
||||
{{
|
||||
helpers.getLinkActiveState(item.url,
|
||||
page.url)
|
||||
|
|
||||
safe
|
||||
}}
|
||||
>{{ item.text }}</a
|
||||
>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue