Ensure POST'ed content takes precedent over user template

Set a flag saying the content came from a POST, and then prefer the posted content over the user defined template.

Fixed #1565.