add semantic containers to index file with captions etc