• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D23-Dec-2021557 178

dateformatting.mdH A D23-Dec-20212.3 KiB8758

index.mdH A D23-Dec-202122 33

pages-vs-site-pages.mdH A D23-Dec-20211.2 KiB3526

sectionvars.mdH A D23-Dec-2021794 2416

README.md

1# readdirs Directory for Reusable Content
2
3Files in this directory are:
4
51. Used in *more than one place* within the Hugo docs
62. Used in Examples of readdir (i.e. in local file templates)
7
8These files are called using the [`readfile` shortcode (source)](../layouts/readfile.html).
9
10You can call this shortcode in the docs as follows:
11
12
13<code>{</code><code>{</code>% readfile file="/path/to/file.txt" markdown="true" %<code>}</code><code>}</code>
14
15
16`markdown="true"` is optional (default = `"false"`) and parses the string through the Blackfriday renderer.
17