+{
+ cat src/layout.html | grep -v '</body>' | grep -v '</html>'
+ echo '<script id="searchpage-template" type="text/x-handlebars-template">'
+ cat src/templates/searchpage.hbs
+ echo '</script>'
+
+ echo '<script id="reversepage-template" type="text/x-handlebars-template">'
+ cat src/templates/reversepage.hbs
+ echo '</script>'
+
+ echo '<script id="detailspage-template" type="text/x-handlebars-template">'
+ cat src/templates/detailspage.hbs
+ echo '</script>'
+
+ echo '<script id="detailspage-index-template" type="text/x-handlebars-template">'
+ cat src/templates/detailspage-index.hbs
+ echo '</script>'
+
+ echo '<script id="deletable-template" type="text/x-handlebars-template">'
+ cat src/templates/deletable.hbs
+ echo '</script>'
+
+ echo '<script id="polygons-template" type="text/x-handlebars-template">'
+ cat src/templates/polygons.hbs
+ echo '</script>'
+
+ echo '</body>'
+ echo '</html>'
+} > dist/search.html
+
+cp dist/search.html dist/reverse.html
+cp dist/search.html dist/details.html
+cp dist/search.html dist/deletable.html
+cp dist/search.html dist/polygons.html