hugo/content/readfiles
Bjørn Erik Pedersen 900b5f6cfe Squashed 'docs/' changes from 1dc05a16b..715741f73
715741f73 Add Netlify config for a split testin branch
4917f0636 Mention that math add/sub/mul/div functions can do float math too
31632beeb Document .Site.Params.mainSections
3416ba80d Update sectionvars.md
295ccb463 Update sections.md
15b5a0342 Fix duplicated paragraph
eb13db670 Fix text highlight
fa46cafdf Get 1password-support ready
979bb5698 Add 1password support showcase
ceb94d1e1 Fix readDir function links

git-subtree-dir: docs
git-subtree-split: 715741f7393cec2a9b34254bda6e815e9391a632
2018-02-27 09:36:36 +01:00
..
bfconfig.md Squashed 'docs/' changes from 3e663efb2..fc61378a3 2017-12-30 09:15:31 +01:00
dateformatting.md Squashed 'docs/' content from commit f887bd7b 2017-08-10 17:18:22 +02:00
index.md Squashed 'docs/' changes from f97826a17..1dc05a16b 2018-02-21 10:00:31 +01:00
menuvars.md Squashed 'docs/' content from commit f887bd7b 2017-08-10 17:18:22 +02:00
README.md Squashed 'docs/' content from commit f887bd7b 2017-08-10 17:18:22 +02:00
sectionvars.md Squashed 'docs/' changes from 1dc05a16b..715741f73 2018-02-27 09:36:36 +01:00
testing.txt Squashed 'docs/' content from commit f887bd7b 2017-08-10 17:18:22 +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.