cc-d: refactored/cleaned up sub-post.html, unexpectedly large amount of work

    no comments