Get page params and the smart template parts working