aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/_layouts
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2023-12-14 00:52:49 +0100
committerEgor Tensin <egor@tensin.name>2023-12-14 00:52:49 +0100
commit9698e6dc79fc07b7e66b07710c8d0b1d170c8f47 (patch)
treee039f85a5c641f0d3f0d433100ef3bb3c8c11fd6 /src/_layouts
parentadd a Makefile with the usual shortcuts (diff)
downloadfucktipp.ing-9698e6dc79fc07b7e66b07710c8d0b1d170c8f47.tar.gz
fucktipp.ing-9698e6dc79fc07b7e66b07710c8d0b1d170c8f47.zip
add index.html
Diffstat (limited to '')
-rw-r--r--src/_layouts/page.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/_layouts/page.html b/src/_layouts/page.html
new file mode 100644
index 0000000..d6aea67
--- /dev/null
+++ b/src/_layouts/page.html
@@ -0,0 +1,47 @@
+<!doctype html>
+<html lang="en" data-bs-theme="dark">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
+
+ <title>{{ page.title }}</title>
+
+ <style>
+html, body {
+ height: 100%;
+}
+body {
+ display: flex;
+ flex-direction: column;
+}
+main {
+ flex-shrink: 0;
+}
+footer {
+ margin-top: auto;
+}
+
+@media (min-width: 768px) {
+ .container {
+ max-width: 720px;
+ }
+}
+ </style>
+ </head>
+ <body>
+ <main>
+ {{ content }}
+ </main>
+ <footer class="bg-body-tertiary py-2">
+ <div class="container">
+ <div class="row">
+ <div class="col">
+ <div class="text-center text-muted">Made by <a href="https://tensin.name/">me</a>.</div>
+ </div>
+ </div>
+ </div>
+ </footer>
+ </body>
+</html>