summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2018-09-29 12:27:12 -0400
committerBen Burwell <ben@benburwell.com>2018-09-29 12:27:12 -0400
commit4289f4e97fed7c674e4032327a0f319cf308a8fd (patch)
tree20924420b4044d493b9a0e4d7f832c97ee341eb5
parent4ac1c6b7e843ce8894bfa394f64e95edc2b61450 (diff)
Use global defaults more effectively
-rw-r--r--_config.yml4
-rw-r--r--freebsd.md2
-rw-r--r--posts/index.html1
-rw-r--r--theatre.html2
4 files changed, 3 insertions, 6 deletions
diff --git a/_config.yml b/_config.yml
index 5bc4d4e..354e46a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -3,7 +3,6 @@ markdown: kramdown
sass:
style: :compressed
sass_dir: _sass
-permalink: /posts/:title/
plugins:
- jekyll-redirect-from
- jekyll-feed
@@ -12,6 +11,8 @@ timezone: America/New_York
# Site-level data
name: Ben Burwell
excerpt_separator: <!--more-->
+layout: master
+permalink: /:slug.html
defaults:
- scope:
@@ -19,4 +20,5 @@ defaults:
type: "posts"
values:
layout: "post"
+ permalink: /posts/:title/
diff --git a/freebsd.md b/freebsd.md
index 88d7f81..a6f2839 100644
--- a/freebsd.md
+++ b/freebsd.md
@@ -1,7 +1,5 @@
---
title: Notes on setting up a FreeBSD home server
-permalink: /freebsd.html
-layout: master
---
# Notes on setting up a FreeBSD home server
diff --git a/posts/index.html b/posts/index.html
index 57bc579..7f63d3d 100644
--- a/posts/index.html
+++ b/posts/index.html
@@ -1,5 +1,4 @@
---
-layout: master
title: Posts - Ben Burwell
description: Irregularly updated blogish thing about stuff I’m interested in.
---
diff --git a/theatre.html b/theatre.html
index ae09487..cb69353 100644
--- a/theatre.html
+++ b/theatre.html
@@ -1,7 +1,5 @@
---
-layout: master
title: Theatrical Credits
-permalink: /theatre.html
redirect_from: /theatre/
---