Pass category, title and filename to template.