-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from sweoggy/patch-1
Make StaticUrlProvider also use proper alternative URLs
- Loading branch information
Showing
7 changed files
with
104 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
|
||
namespace Tests\SitemapPlugin\Controller; | ||
|
||
use Sylius\Component\Core\Model\Taxon; | ||
|
||
/** | ||
* @author Stefan Doorn <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||
<url> | ||
<loc>http://localhost/en_US/products/test</loc> | ||
<lastmod>@[email protected]()</lastmod> | ||
|
@@ -13,11 +13,29 @@ | |
</url> | ||
<url> | ||
<loc>http://localhost/en_US/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="http://localhost/en_US/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="http://localhost/nl_NL/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>http://localhost/nl_NL/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="http://localhost/en_US/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="http://localhost/nl_NL/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>http://localhost/en_US/contact/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="http://localhost/en_US/contact/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="http://localhost/nl_NL/contact/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>http://localhost/nl_NL/contact/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="http://localhost/en_US/contact/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="http://localhost/nl_NL/contact/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||
<url> | ||
<loc>/en_US/products/test</loc> | ||
<lastmod>@[email protected]()</lastmod> | ||
|
@@ -13,11 +13,29 @@ | |
</url> | ||
<url> | ||
<loc>/en_US/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="/en_US/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="/nl_NL/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>/nl_NL/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="/en_US/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="/nl_NL/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>/en_US/contact/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="/en_US/contact/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="/nl_NL/contact/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
<url> | ||
<loc>/nl_NL/contact/</loc> | ||
<xhtml:link rel="alternate" hreflang="en" href="/en_US/contact/"/> | ||
<xhtml:link rel="alternate" hreflang="nl" href="/nl_NL/contact/"/> | ||
<changefreq>weekly</changefreq> | ||
<priority>0.3</priority> | ||
</url> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters