Skip to content

Commit

Permalink
Merge pull request #467 from HistoryAtState/pb-link-nofollow
Browse files Browse the repository at this point in the history
Advise crawlers not to follow pb links
  • Loading branch information
windauer authored Jan 8, 2025
2 parents c24cffc + 72ef9b5 commit 15d5b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ext-html.xql
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ declare function pmf:pb-link($config as map(*), $node as node(), $class as xs:st
'Typeset '
default return ''
return
<a href="{ $uri }" id="{ $id }" class="{ $class }" target="_self">
<a href="{ $uri }" id="{ $id }" class="{ $class }" target="_self" rel="nofollow">
[{$label, $config?apply-children($config, $node, $content)}]
</a>
};

0 comments on commit 15d5b65

Please sign in to comment.