Skip to content

Commit a2bcac1

Browse files
committed
Introduce default layout
1 parent e0a086c commit a2bcac1

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Missing
3-
layout: post
3+
layout: default
44
---
55

66
<style type="text/css" media="screen">

_layouts/default.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
{% include head.html %}
5+
</head>
6+
<body>
7+
<main class="content">
8+
{% include header.html %}
9+
10+
{{ content }}
11+
</main>
12+
13+
<script src="/js/application.js"></script>
14+
</body>
15+
</html>

contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Contact"
3-
layout: posts
3+
layout: default
44
---
55

66
<article class="contact">

0 commit comments

Comments
 (0)