1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

noopener support via custom Hugo and BlackFriday forks

This commit is contained in:
2019-10-06 12:47:00 -04:00
parent 0c5a7771b6
commit db9ded1ba0
5 changed files with 77 additions and 2 deletions

View File

@@ -23,9 +23,10 @@ enableRobotsTXT = true
filename = "sitemap.xml"
[blackfriday]
# hrefTargetBlank = true # prefer not to use this until noopener option implemented (https://discourse.gohugo.io/t/link-with--target-blank-in-markdown-tipp/7569/10)
hrefTargetBlank = true
nofollowLinks = true
noreferrerLinks = true
noopenerLinks = true # requires custom fork w/ custom blackfriday: https://github.com/jakejarvis/hugo/tree/noopener
plainIDAnchors = true
fractions = false