mojombo/jekyll — Issue #468: Separate permalink config for pages and posts
Author: ptamarit
Created: 2012-01-06 13:59:07+00:00
State: open

Hi,

I have a request related to issue #40.

IMHO, it would be cleaner to have a separate config for permalinks in pages and in posts.
My use case is the following: I want to use the pretty format for my pages, but a custom format for my posts.
Currently, this is not possible.

I would propose to add another config property, maybe something called `permalink_pages`.
The `_config.yml` would look like this:

# My custom config for the posts:
permalink: /:categories/:year/:title/

# Pretty format for the pages:
permalink_pages: pretty

To make it backward compatible, one could check for the existence of the config `permalink_pages`, and if not fallback to `permalink`.

Does this make sense?