hugo/content/en/readfiles
Bjørn Erik Pedersen 8b73644d81 Squashed 'docs/' changes from acf70cdd9..0f2bf195e
0f2bf195e Adjust shortcodes for 0.55
48c577121 Fix deprecation warnings
ed95a341a Update index.md
e4bc8981f Release 0.55.0
25acacb91 Merge branch 'temp55'
b240e321a releaser: Add release notes to /docs for release of 0.55.0
86a190c92 docs: Add information about summary front matter variable
9d94f4340 integrity: Add support for sha384
dd3fe9f92 Add HUGO_NUMWORKERMULTIPLIER
968372d86 Add trace.out to .gitignore
660772713 Add the Fireship images to cache
41a3e19cb hugolib: Allow page-relative aliases
4497e4b12 Update faq.md
b0ee3dccc output: Add missing JSON tag
173dac0b7 docs: Regenerate docshelper data
e30473062 docs: Regenerate CLI docs
8cb775be2 Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
5bc64bf44 Make Page an interface
371ff6c12 Add skipHTML option to blackfriday config

git-subtree-dir: docs
git-subtree-split: 0f2bf195ef549013cc843199fb50317b0d1a5e85
2019-04-09 23:59:13 +02:00
..
bfconfig.md Squashed 'docs/' changes from acf70cdd9..0f2bf195e 2019-04-09 23:59:13 +02:00
dateformatting.md Squashed 'docs/' changes from 896bad9f4..e161ea09d 2018-05-04 09:44:21 +02:00
index.md Squashed 'docs/' changes from 896bad9f4..e161ea09d 2018-05-04 09:44:21 +02:00
pages-vs-site-pages.md Squashed 'docs/' changes from a4fa0d1d6..81847981f 2018-08-01 10:01:05 +02:00
README.md Squashed 'docs/' changes from 896bad9f4..e161ea09d 2018-05-04 09:44:21 +02:00
sectionvars.md Squashed 'docs/' changes from 896bad9f4..e161ea09d 2018-05-04 09:44:21 +02:00
testing.txt Squashed 'docs/' changes from 896bad9f4..e161ea09d 2018-05-04 09:44:21 +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.