summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/master.html22
-rw-r--r--_layouts/nav.html9
-rw-r--r--_layouts/post.html6
3 files changed, 16 insertions, 21 deletions
diff --git a/_layouts/master.html b/_layouts/master.html
index 294a695..5f7b75d 100644
--- a/_layouts/master.html
+++ b/_layouts/master.html
@@ -5,24 +5,12 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="alternate" type="application/atom+xml" title="benburwell.com blog posts" href="/feed.xml">
+ <link rel="stylesheet" type="text/css" href="/assets/base.css">
+ <link rel="stylesheet" type="text/css" href="/assets/normal.css" title="Normal">
+ <link rel="alternate stylesheet" type="text/css" href="/assets/h4xx0r.css" title="1337 h4xx0r">
+ <link rel="alternate stylesheet" type="text/css" href="/assets/classic.css" title="Classic">
+ <link rel="alternate stylesheet" type="text/css" href="/assets/90s.css" title="90's">
<meta name="author" content="Ben Burwell">
- <style>
- body {
- max-width: 40rem;
- padding: 1rem;
- margin: auto;
- color: #242424;
- }
- h1, h2, h3, h4, h5, h6 {
- font-family: sans-serif;
- }
- pre {
- overflow: auto;
- }
- img {
- max-width: 100%;
- }
- </style>
</head>
<body>
{{ content }}
diff --git a/_layouts/nav.html b/_layouts/nav.html
new file mode 100644
index 0000000..3a04970
--- /dev/null
+++ b/_layouts/nav.html
@@ -0,0 +1,9 @@
+---
+layout: master
+---
+<nav>
+ <a href="/">Home</a> /
+ <a href="/posts/">Blog</a> /
+ <a href="/projects.html">Projects</a>
+</nav>
+{{ content }}
diff --git a/_layouts/post.html b/_layouts/post.html
index fc95d89..7636b8f 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,13 +1,11 @@
---
-layout: master
+layout: nav
---
<h1>{{page.title}}</h1>
<p>
<em>
- Posted {{page.date | date: "%Y-%m-%d"}} to
- <a href="/">Ben Burwell</a>'s
- <a href="/posts/">blog</a>
+ Posted {{page.date | date: "%Y-%m-%d"}}
</em>
</p>