Same style note as for subtitle() -- return tmpl.format() can be done at the toplevel.  pk=msg['msg']['topmost_post_id'] can be done at the toplevel.  post="" set as a default value at the toplevel.