summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode.go
diff options
context:
space:
mode:
authorStefan Neuhaus <stefan@stefanneuhaus.org>2018-05-27 23:14:34 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-05-28 01:21:36 +0200
commit7a6192647a4b383cd539df2063388ea380371de6 (patch)
treed92376ddc8f851b3169a68f4450c68c65e914600 /hugolib/shortcode.go
parentd68367cbe76cbc02adb5b778e8be98bed6319368 (diff)
Add a BlackFriday option for rel="nofollow" on external links
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
Diffstat (limited to 'hugolib/shortcode.go')
0 files changed, 0 insertions, 0 deletions