Skip to content

Commit ecb2384

Browse files
committed
fixed compile error because of.html
1 parent 57f7c5b commit ecb2384

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

_includes/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
{% endif %}
1818
</head>
1919
<body>
20-
{% include "partials/navbar.njk" %}
20+
{% include "partials/navbar.html" %}
2121

2222
{{ content | safe }}
2323

24-
{% include "partials/footer.njk" %}
24+
{% include "partials/footer.html" %}
2525

2626
<script src="/static/js/alpine.js"></script>
2727

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ <h1>
1818
<code class="bg-gray-100 text-blue-800 p-1">/index.njk</code>
1919
</p>
2020

21-
{% include "_includes/partials/content.njk" %}
21+
{% include "_includes/partials/content.html" %}
2222
</div>

tailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
purge: {
33
mode: "all",
4-
content: ["./**/*.njk"],
4+
content: ["./**/*.html"],
55
options: {
66
whitelist: [],
77
},

0 commit comments

Comments
 (0)