Move the closing div inside the block

Fixes #1619. Move the closing div inside the block since it's defined
in the block anyway.

Signed-off-by: nigelb <nigel.babu@okfn.org>