use jinja to generate portfolio section
add image captions support to the template script