mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-18 02:19:43 +00:00
This removes new-in flags older than v0.92.0, which was released at the beginning of 2022. Closes #1877
readdirs Directory for Reusable Content
Files in this directory are:
- Used in more than one place within the Hugo docs
- 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.