mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
7a6192647a
Add a configuration option "nofollowLinks". When set to "true" the "HTML_NOFOLLOW_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "nofollow" value for the "rel" attribute. Fixes #4722 |
||
---|---|---|
.. | ||
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.