factored out common comment template
factored out common comment template and fixed css bug