Add shortcode from live site for readfile example in local files template

This commit is contained in:
Ryan Watters committed 2017-02-19 02:15:42 -06:00
1 parent ed70c14a2b
commit b8fba275b3
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ So, let's create a new shortcode using `readDir`:
**layouts/shortcodes/directoryindex.html** **layouts/shortcodes/directoryindex.html**
```html ```html
{{</* readfile "layouts/shortcodes/directoryindex.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. For the files in any given directory, this shortcode usefully lists their basenames and sizes, while providing links to them.