diff --git a/content/templates/local-file-templates.md b/content/templates/local-file-templates.md index 39ceaee97..a34253b7f 100644 --- a/content/templates/local-file-templates.md +++ b/content/templates/local-file-templates.md @@ -41,7 +41,7 @@ So, let's create a new shortcode using `readDir`: **layouts/shortcodes/directoryindex.html** ```html -{{}} +{{< readfile "layouts/shortcodes/directoryindex.html" >}} ``` For the files in any given directory, this shortcode usefully lists their basenames and sizes, while providing links to them.