add details div around document meta