indexForLayout(layout);
IOHelper.overwriteFileIfContentDiffers(indexFile, layout
- .getHtml().getBytes());
+ .getHtml(true, true).getBytes());
}
} catch (final Exception e) {
logger.error("Error writing index file to:" + indexFilePath, e);
for (final Layout layout : layouts)
layout.init(indexingOptions.galleryTitle, pathElements, this,
- new IndexingContext("", ""));
+ new IndexingContext("", "."));
}
public void initializeThumbnailsDirectory() {