imathis/octopress — Issue #369: No good way to set `category_dir` to site root
Author: jberryman
Created: 2012-01-13 03:02:21+00:00
State: open

I'm setting up my posts with this permalink format:

root: /
permalink: /:categories/:title/

and would like to have the category name subdirectory list the posts in that category, but there seems to be no way to specify this configuration with `category_dir`. I tried `/` and leaving it empty.

`/` works but the category link on the bottom of posts is broken (looks like '///category1').

An ugly workaround for now is:

category_dir: .

but this is something of a hack and have no idea if it will work in all browsers/web servers.