posts:view updated for permalink