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
1
src/_includes/partials/footer.html
Normal file
1
src/_includes/partials/footer.html
Normal file
|
@ -0,0 +1 @@
|
|||
<footer>Footer.</footer>
|
|
@ -1,3 +0,0 @@
|
|||
<footer class="site-foot">
|
||||
Footer.
|
||||
</footer>
|
1
src/_includes/partials/header.html
Normal file
1
src/_includes/partials/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<header>{% include "partials/menu.html" %}</header>
|
|
@ -1,3 +0,0 @@
|
|||
<header class="wrapper">
|
||||
{% include "partials/menu.njk" %}
|
||||
</header>
|
|
@ -1,4 +1,4 @@
|
|||
<nav id="mainnav" class="navbar" aria-label="Main">
|
||||
<nav aria-label="Main">
|
||||
Menu.
|
||||
<ul>
|
||||
{% for item in navigation.top %}
|
Loading…
Add table
Add a link
Reference in a new issue