layout: Support any `display` property in generated content, and allow

tables to clear floats.

Improves the GitHub header.

r? @glennw