Started work on a new layout
This commit is contained in:
32
src/_layouts/default.html
Normal file
32
src/_layouts/default.html
Normal 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>
|
||||
© to me
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
7
src/_layouts/home.html
Normal file
7
src/_layouts/home.html
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<p>This is the home page.</p>
|
||||
|
||||
{{ content }}
|
7
src/_layouts/page.html
Normal file
7
src/_layouts/page.html
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<p>This is a standard page.</p>
|
||||
|
||||
{{ content }}
|
7
src/_layouts/post.html
Normal file
7
src/_layouts/post.html
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
<p>This is a post page.</p>
|
||||
|
||||
{{ content }}
|
Reference in New Issue
Block a user