Always surround the frontmatter
This commit is contained in:
parent
387746133c
commit
f8493de254
1
ext/post
1
ext/post
|
@ -5,6 +5,7 @@ OUTPUT_DIR = File.expand_path("~/projects/fnordig.de/_posts")
|
||||||
EDITOR = ENV['EDITOR'] || 'vim'
|
EDITOR = ENV['EDITOR'] || 'vim'
|
||||||
EXTENSION=".md"
|
EXTENSION=".md"
|
||||||
HEADER = <<EOF
|
HEADER = <<EOF
|
||||||
|
---
|
||||||
permalink: "/{{ year }}/{{ month }}/{{ day }}/%s"
|
permalink: "/{{ year }}/{{ month }}/{{ day }}/%s"
|
||||||
title: "%s"
|
title: "%s"
|
||||||
published_date: "%s"
|
published_date: "%s"
|
||||||
|
|
Loading…
Reference in a new issue