Files
hugo/content/readfiles
Bjørn Erik Pedersen ba51fe66dd Finish the Maintenance section
Closes #339
2018-02-11 14:16:16 +01:00
..
2018-02-11 14:16:16 +01:00
2017-03-01 01:15:23 -06:00
2017-11-22 10:30:11 +01:00
2017-03-01 01:15:23 -06:00

readdirs Directory for Reusable Content

Files in this directory are:

  1. Used in more than one place within the Hugo docs
  2. Used in Examples of readdir (i.e. in local file templates)

These files are called using the readfile shortcode (source).

You can call this shortcode in the docs as follows:

{{% readfile file="/path/to/file.txt" markdown="true" %}}

markdown="true" is optional (default = "false") and parses the string through the Blackfriday renderer.