Added text processing for index.html's thumbnails

Added a new function to process the text displayed in thumbnails.

Closes #18.