private void load(SiteContext site, List<Map<String, Object>> routeMaps) {
if (!CollectionUtils.isEmpty(routeMaps)) {
for (Map<String, Object> routeMap : routeMaps) {
try {
String routePath = (String) routeMap.get("route");
Route route = new RouteWrapper(routePath, routeMap);
add(route);
} catch (Exception e) {
log.error("cannot load the following router for: " + routeMaps);
e.printStackTrace();
}