@import java.nio.file.Path @import utils.StringUtils._ @import os._ @(context_path: String, title: String, portfolioPath: Path, rootNode: DirNode, isSlideshow: Boolean, index: Int = 0, modified: Boolean, environment: String) @layouts.html.index(context_path, title, portfolioPath, rootNode, isSlideshow, modified, environment) {
@if(rootNode.isNotEmpty) { @for((file, i) <- rootNode.files.zipWithIndex) {
Image @(i+1) / @rootNode.files.size   @if(file.metadata != None) { @file.metadata.get.description }
} }
}