mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
900b5f6cfe
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 |
||
---|---|---|
.. | ||
bfconfig.md | ||
dateformatting.md | ||
index.md | ||
menuvars.md | ||
README.md | ||
sectionvars.md | ||
testing.txt |
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.