adding template tag to fetch sub category for a blog