code: public void addPartial(final String key, final String name) {
  		notNull(key);
  		notNull(name);
  
  		View view = this.getView();
  		if (view != null && view instanceof MustacheView) {
  			// First try to not pollute view model object
  			final MustacheView mustacheView = (MustacheView) view;
  			mustacheView.addAlias(key, name);
  		} else {
  			// Otherwise, add partials to model object
  			final Map<String, String> currentPartials = getPartials();
  			currentPartials.put(key, name);
  			super.addObject(MustacheSettings.PARTIALS_KEY, currentPartials);
  		}
  	}
docs: Add new partials mapping to the view.
  
  @param key Partial name.
  @param name Partial path.