permalink issue

using latest post generated not working as expected