Initial commit

This commit is contained in:
2023-01-24 18:20:04 +01:00
commit 58d94ad34a
18 changed files with 405 additions and 0 deletions

25
_layouts/default.html Normal file
View File

@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<link href="/dist/output.css" rel="stylesheet">
</head>
<body class="min-h-screen h-full flex flex-col">
{% include header.html %}
<div class="flex-grow">
{{ content }}
</div>
<footer class="h-8 w-full flex flex-row justify-center">
<span class="text-sm text-center">
Made with &lt;3 by
<a class="text-sky-400" href="https://polynom.me" target="_blank" rel="noopener noreferrer">PapaTutuWawa</a>
using <a class="text-sky-400" href="https://tailwindcss.com/" target="_blank" rel="noopener noreferrer">TailwindCSS</a>
and <a class="text-sky-400" href="https://jekyllrb.com/" target="_blank" rel="noopener noreferrer">Jekyll</a>
</span>
</footer>
</body>
</html>

15
_layouts/post.html Normal file
View File

@@ -0,0 +1,15 @@
---
layout: default
---
<div class="w-full flex flex-row justify-center mt-2">
<div class="w-full lg:w-3/4 px-8 flex flex-col items-start">
<h1 class="text-3xl">{{ page.title }}</h1>
<span>Posted by <span class="italic">{{ page.author }}</span> on {{ page.date | date: "%d.%m.%Y" }}</span>
<article class="mt-5 prose lg:prose-xl max-w-none">
{{ page.content }}
</article>
</div>
</div>