Files
hugoDocs/content/en/readfiles
Joe MooringandGitHub f3fb791a4f Remove dated new-in flags (#1879)
This removes new-in flags older than v0.92.0, which was released at the
beginning of 2022.

Closes #1877
2022-11-10 21:33:45 -08: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.