]> _ Git - cubeextranet.git/commitdiff
wait #3913 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Sep 2020 12:43:48 +0000 (12:43 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Sep 2020 12:43:48 +0000 (12:43 +0000)
inc/ws/Util/html5/master/class.ws.html5.seo.php

index 5e4812db4381c18be7070b18daee1c495012fa3e..56fa5110d24221988da91fb37fe05f6967fb304e 100644 (file)
@@ -215,6 +215,10 @@ class wsHTML5SeoPage
             'seoContent' => $this->getSEOContent(),\r
             'startpage' => '<script type="text/javascript">var FLUIDBOOK_START_PAGE="' . $this->page . '";</script>' . "\n"];\r
 \r
+        if (!$this->_container->compiler->book->parametres->seoVersion) {\r
+            $vars['canonical'] = $vars['next'] = $vars['prev'] = '';\r
+        }\r
+\r
         foreach ($vars as $k => $var) {\r
             $html = str_replace('<!-- $' . $k . ' -->', $var, $html);\r
         }\r