improve(theme): add slash for category link
fix(render): handle permalink don't provide filename