aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/default.html')
-rw-r--r--_layouts/default.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..a923692
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang='{{ page.lang }}'>
+<head>
+ {% include head.html %}
+ {% include title.html %}
+ {% include opengraph.html %}
+</head>
+<body>
+ <div class='centeredPage'>
+ <div class='titleWrapper'>
+ <h1>{{ page.title }}</h1>
+ {% if page.subtitle %}<p class='subtile'>{{ page.subtitle }}</p>{% endif %}
+ {% if page.tags %}{% include tags.html tags=page.tags %}{% endif %}
+ </div>
+ <div class='navAreaWrapper'>
+ <div class='sticky'>
+ {% include navbar.html page=page.id %}
+ {% if page.toc %}{% toc %}{% endif %}
+ </div>
+ </div>
+ <!-- <MobileNavbar /> -->
+ <div class='contentWrapper'>
+ {{ content }}
+ </div>
+ </div>
+</body>
+</html>