Templating for listing directory content