aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/_layouts/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/_layouts/page.html')
-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>