Change post format.
Update post handler.
Fix return instead of write.
Remove debug statements.
Tidy up.
Remove index from sample pages.