Merge pull request #956 from ltGuillaume/patch-1
Use comma for imploding robots meta tag
This commit is contained in:
commit
4365147a40
|
@ -45,7 +45,7 @@ class pluginRobots extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($robots)) {
|
if (!empty($robots)) {
|
||||||
$robots = implode(' ', $robots);
|
$robots = implode(',', $robots);
|
||||||
$html .= '<meta name="robots" content="'.$robots.'">'.PHP_EOL;
|
$html .= '<meta name="robots" content="'.$robots.'">'.PHP_EOL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,4 +63,4 @@ class pluginRobots extends Plugin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue