use html_safe on main page