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
17
src/_layouts/base.html
Normal file
17
src/_layouts/base.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- charset/http-equiv/viewport -->
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="stylesheet" href="/assets/css/global.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include "partials/header.html" %}
|
||||
<main id="main" class="wrapper">{{ content | safe }}</main>
|
||||
{% include "partials/footer.html" %}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue