We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d14cf7 commit 37d76a8Copy full SHA for 37d76a8
classes/MLPage.php
@@ -31,7 +31,7 @@ public static function resolveMenuItem(object $item, string $url, Theme $theme):
31
$alternateLinks[$locale] = Url::to($pageUrl);
32
}
33
34
- if ($alternateLinks) {
+ if (count($alternateLinks) > 1) {
35
$result['alternateLinks'] = $alternateLinks;
36
37
0 commit comments