Skip to content

Commit 6e8dfb4

Browse files
author
tianheg
committed
theme: remove link rel(noopener) in blog
refer https://mathiasbynens.github.io/rel-noopener/
1 parent 7345aa8 commit 6e8dfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/tianheg/layouts/partials/utils/markdownify.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<!-- External Links -->
2626
{{- if $.Site.Params.hrefTargetBlank -}}
27-
{{- $Content = replaceRE `(<a href="https?:[^"]+")` `$1 target="_blank" rel="noopener"` $Content -}}
27+
{{- $Content = replaceRE `(<a href="https?:[^"]+")` `$1 target="_blank"` $Content -}}
2828
{{- end -}}
2929

3030
{{- $Content | safeHTML -}}

0 commit comments

Comments
 (0)