Added support for slugs in posts