handle the league type
add has_archive option