README.md (557B)
1 # readdirs Directory for Reusable Content 2 3 Files in this directory are: 4 5 1. Used in *more than one place* within the Hugo docs 6 2. Used in Examples of readdir (i.e. in local file templates) 7 8 These files are called using the [`readfile` shortcode (source)](../layouts/readfile.html). 9 10 You can call this shortcode in the docs as follows: 11 12 13 <code>{</code><code>{</code>% readfile file="/path/to/file.txt" markdown="true" %<code>}</code><code>}</code> 14 15 16 `markdown="true"` is optional (default = `"false"`) and parses the string through the Blackfriday renderer.