retrieve post slug from markdown file name