add single gist view styling template and logic