Kaushal Modi f76edaab07 Update description of .Pages based on its new behavior in Hugo 0.57+
Also document the new `.RegularPages` now available in all pages,
starting from Hugo v0.57.0.

Fixes https://github.com/gohugoio/hugoDocs/issues/890.
2019-08-16 09:50:48 -04:00
..
2019-08-16 09:35:56 -04:00
2019-05-03 15:04:50 +02: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.