-# Sunset solar eclipse to brush Columbus Sunday
-- Ben Keith
-- benlkeith
-- 2012-05-18 04:19
-- Blog
-- published
+---
+title: 'Sunset solar eclipse to brush Columbus Sunday'
+author: Ben Keith
+twitter_handle: benlkeith
+date: 2012-05-18
+time: 04:19
+categories: Blog
+classes: published
+---
_posts
directory.md
, rename them now, or edit script.sh
to read from a different filename._posts
directory, so that your directory layout looks like this:├── 404.html
├── Gemfile
├── Gemfile.lock
├── _config.yml
├── _posts
│ └── example.md
├── _site
├── converter
│ ├── convert.py
│ ├── requirements.txt
│ └── script.sh
└── index.md
pip install -r requirements.txt
.jekyll serve
or jekyll build
to make sure. If you don't want to rely on frontmatter
, delete the line in convert.py
in main
that calls frontmatter_parse
script.sh
from /converter
to the parent directory:├── 404.html
├── Gemfile
├── Gemfile.lock
├── _config.yml
├── _posts
│ └── example.md
├── _site
├── converter
│ ├── convert.py
│ └── requirements.txt
├── index.md
└── script.sh
./script.sh
.This assumes:
python
.md
\n
for end-of-line; use dos2unix
to fix this if not.convert.py
. I hacked the "post status" line item to support multiple words, which were then added as class names and separate templates. For more about that, see the dropplets template I was using.