Started work on a new layout

This commit is contained in:
2021-08-17 14:41:24 -04:00
parent 74b55dd4fe
commit 4ca12a0654
9 changed files with 124 additions and 49 deletions

32
src/_layouts/default.html Normal file
View File

@ -0,0 +1,32 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="/assets/stylesheets/lumbridge.css">
</head>
<body>
<header id="header-box">
<div id="header-logo">
<h1>Bit Goblin</h1>
</div>
</header>
<nav id="navigation">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog Posts</a></li>
</ul>
</nav>
<div class="container">
{{ content }}
</div>
<footer>
&copy; to me
</footer>
</body>
</html>

7
src/_layouts/home.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
<p>This is the home page.</p>
{{ content }}

7
src/_layouts/page.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
<p>This is a standard page.</p>
{{ content }}

7
src/_layouts/post.html Normal file
View File

@ -0,0 +1,7 @@
---
---
<p>This is a post page.</p>
{{ content }}