Build first page

This commit is contained in:
Philipp Klüter
2021-09-15 08:15:17 +02:00
parent bad5d0302a
commit f57a4a3443
3 changed files with 19 additions and 2 deletions

View File

@@ -9,7 +9,9 @@
<script src="/assets/main.bundle.js" defer></script>
<title>{{title}}</title>
</head>
<body>
<main></main>
<body class="flex flex-col min-h-screen">
<main class="container flex-grow py-8">
{{content}}
</main>
</body>
</html>

8
src/index.njk Normal file
View File

@@ -0,0 +1,8 @@
---
title: Homepage
layout: layout.njk
---
<section>
<h1>Hello to our blog</h1>
</section>