aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-12 10:31:48 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-12 10:31:48 +0200
commitc364c4b0273e76cb13571878d1a4a2853a392b9b (patch)
tree0deb386ef2e380436a74ad9fcf5b023c999dfed7 /_layouts/post.html
parent583f9fa1018bb688323f2367e99c53bba9843f61 (diff)
WIP transition to jekyll
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..847df76
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{ page.title }} - Loek's Blog</title>
+ <meta property='og:site_name' content='{{ page.date }}' />
+ <meta property='og:title' content='{{ page.title }}' />
+ <meta property='og:description' content='{{ page.subtitle }}' />
+</head>
+<body>
+ <div className='centeredPage'>
+ <div className='titleWrapper'>
+ <h1>{{ page.title }}</h1>
+ <p className='subtile'>{{ page.subtitle }}</p>
+ {props.meta.tags && <Tags tags={props.meta.tags} />}
+ </div>
+ <div className='navAreaWrapper'>
+ <div className='sticky'>
+ <Navbar />
+ <Chapters chapters={props.meta.chapters} />
+ </div>
+ </div>
+ <MobileNavbar />
+ <div className='contentWrapper'>
+ {{ content }}
+ </div>
+ </div>
+</body>
+</html>