Skip to content

Commit e7c71bc

Browse files
committed
Added rel external nofollow for external links
1 parent 6908c7c commit e7c71bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quartz/plugins/transformers/links.ts

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options> | undefined> =
6262
classes.push(isExternal ? "external" : "internal")
6363

6464
if (isExternal && opts.externalLinkIcon) {
65+
node.properties.rel = "external nofollow";
6566
node.children.push({
6667
type: "element",
6768
tagName: "svg",

0 commit comments

Comments
 (0)