[TASK] Only render hreflang tag when multiple languages are available 37/58837/2
authorRichard Haeser <richard@maxserv.com>
Sat, 3 Nov 2018 14:21:13 +0000 (15:21 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Thu, 8 Nov 2018 21:15:15 +0000 (22:15 +0100)
commit3823f0af9e30c90392394c1d80634f1382f83862
treeb152f2dcf10dfd2441c3640935b1daec3c1f121f
parent40a79c0ad19f870e31ded6b81efe7742bea473af
[TASK] Only render hreflang tag when multiple languages are available

Make sure the hreflang tags are only rendered when there is more than 1
language enabled for the current page.

Resolves: #86545
Releases: master
Change-Id: Ib2bbccbc25544a4d162e7cb6da0ffc50a31df2ba
Reviewed-on: https://review.typo3.org/58837
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Riny van Tiggelen <info@online-gamer.nl>
Tested-by: Riny van Tiggelen <info@online-gamer.nl>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php