use pretty pattern for permalinks