Commit 34cb0adc authored by pifagor's avatar pifagor
Browse files

Issue #2907867 by tucho, Prashant.c, alex_optim: Correct module's URL on generated sitemap.xml

parent 7e435d80
...@@ -103,7 +103,7 @@ class XmlSitemapController extends ControllerBase { ...@@ -103,7 +103,7 @@ class XmlSitemapController extends ControllerBase {
// Make sure the strings in the XSL content are translated properly. // Make sure the strings in the XSL content are translated properly.
$replacements = [ $replacements = [
'Sitemap file' => t('Sitemap file'), 'Sitemap file' => t('Sitemap file'),
'Generated by the <a href="http://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.' => t('Generated by the <a href="@link-xmlsitemap">Drupal XML sitemap module</a>.', ['@link-xmlsitemap' => 'http://drupal.org/project/xmlsitemap']), 'Generated by the <a href="https://www.drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.' => t('Generated by the <a href="@link-xmlsitemap">Drupal XML sitemap module</a>.', ['@link-xmlsitemap' => 'https://www.drupal.org/project/xmlsitemap']),
'Number of sitemaps in this index' => t('Number of sitemaps in this index'), 'Number of sitemaps in this index' => t('Number of sitemaps in this index'),
'Click on the table headers to change sorting.' => t('Click on the table headers to change sorting.'), 'Click on the table headers to change sorting.' => t('Click on the table headers to change sorting.'),
'Sitemap URL' => t('Sitemap URL'), 'Sitemap URL' => t('Sitemap URL'),
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</xsl:choose> </xsl:choose>
<div id="footer"> <div id="footer">
<p>Generated by the <a href="http://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.</p> <p>Generated by the <a href="https://www.drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.</p>
</div> </div>
</body> </body>
</html> </html>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment