Support rendering post fragments

To help with cross-posting to other engines, add support for rendering
only the summary and content of a post, without all the rest of the
page wrapped around it.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>