Render minimal head and bottom on query string