cleanup creation of index.html files
move canEditPost to ETPostModel so it can be used globally
cleanup Attachments