work on gallery
created local templates and chunks