Remove unnecessary </li> in default template to make it more consistent
Fix invalid syntax for variable in jinja template
Fix image attributes in jinja gallery template
Merge pull request #324 from localvoid/fix-templates

Fix default templates