fix viewport markup
add missing block in _entry_detail_base.html, thanks to azaghal, close #2