cat >> ${new_out_file} <<- EOM
- img: $sp_name
url: /assets/gallery/thumbnails/$sp_name
title: $out_name
caption: >
$out_name
EOM
cat >> ${new_out_file} <<- EOM
- img: $sp_name
url: /assets/gallery/thumbnails/$sp_name
title: $out_name
caption: >
$out_name
EOM
bash
]