Move lang to config for permalinks
Merge pull request #281 from fdv/master

Move lang to config for permalinks