fixed boilerplate template
masonry template enhancements