changed article view template to work with flask