We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db77298 commit ab79874Copy full SHA for ab79874
doc-extension.groovy
@@ -29,7 +29,7 @@ preprocessor {
29
}
30
docinfo_processor {
31
document -> {
32
- if (!document.basebackend('html') || !document.hasAttribute('fb-canonical-html')) {
+ if (document.getAttribute('backend') != 'html5' || !document.hasAttribute('fb-canonical-html')) {
33
return
34
35
return "<link rel=\"canonical\" href=\"${document.getAttribute('fb-canonical-html')}\"/>"
0 commit comments