Skip to content

Commit 9cf4b21

Browse files
committed
SEO: add nofollow to the external links except for our domains
1 parent e23c154 commit 9cf4b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/default.html

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

1717
<div class="page-content">
1818
<div class="wrapper">
19-
{{ content }}
19+
{{ content | replace: '<a href="https://knapsackpro.com', '<a rel="noopener noreferrer" target="_blank" href="https://knapsackpro.com' | replace: '<a href="https://docs.knapsackpro.com', '<a rel="noopener noreferrer" target="_blank" href="https://docs.knapsackpro.com' | replace: '<a href="http', '<a rel="nofollow noopener noreferrer" target="_blank" href="http' }}
2020
</div>
2121
</div>
2222

0 commit comments

Comments
 (0)