Thanks @parkr , I've extracted the code to the method `site_data`.