code: @Override
      public AssetPage addAsset(AssetPage asset, boolean renderImmediately) {
          final String assetKey = asset.getReference().toString();
          if(assets.containsKey(assetKey)) {
              return assets.get(assetKey);
          }
          else {
              assets.put(assetKey, asset);
              if(renderImmediately) {
                  context.get().renderAsset(asset);
              }
  
              return asset;
          }
      }
docs: this point. Inline resources are rendered directly into the page, and should not be rendered as a proper resource