Middleware for adding content to HTML as it is served.