hugo/docs/content/readfiles
Bjørn Erik Pedersen 9a2eb0f1d3 Revert "Squashed 'docs/' changes from 35abbc86..f887bd7b"
That did not go well...

This reverts commit 0373e43102.
2017-08-10 15:00:30 +02:00
..
bfconfig.md Revert "Squashed 'docs/' changes from 35abbc86..f887bd7b" 2017-08-10 15:00:30 +02:00
dateformatting.md Merge commit '6dbde8d731f221b027c0c60b772ba82dad759943' 2017-07-18 10:33:58 +02:00
menuvars.md Merge commit '6dbde8d731f221b027c0c60b772ba82dad759943' 2017-07-18 10:33:58 +02:00
README.md Merge commit '6dbde8d731f221b027c0c60b772ba82dad759943' 2017-07-18 10:33:58 +02:00
testing.txt Merge commit '6dbde8d731f221b027c0c60b772ba82dad759943' 2017-07-18 10:33:58 +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.