Moved photos list to YAML front matter.
Made photo title conditional. Wrapped in div.
Added thumbnail css class. Removed thumbnail div from photos.