This function just saves a bit of typing. I always put alt for images (sometimes use it elswhere too) and this way I don't have to think.
alt() grabs the pages ' title and website name, concatenates them with a separator and renders them.
get_alt() grabs the pages ' title and website name, concatenates them with a separator and only returns it without rendering.
This function is already in functions.php