Skip to content

Commit

Permalink
Fix typos in docs (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nken committed Dec 1, 2023
1 parent 32cb887 commit e82473a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/5-decorating-urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The `Presta\SitemapBundle\Service\UrlContainerInterface::addUrl` method first ar
an instance of `Presta\SitemapBundle\Sitemap\Url\Url`, which is an interface.

In the examples you've seen in that doc, we used only `Presta\SitemapBundle\Sitemap\Url\UrlConcrete`.
It cover the minimal requirement for a sitemap XML node.
It covers the minimal requirement for a sitemap XML node.

> **Note:** This bundle is only registering `Presta\SitemapBundle\Sitemap\Url\UrlConcrete`
> instances for the static routes you configured in your app.
Expand Down Expand Up @@ -91,7 +91,7 @@ $urls->addUrl($decoratedUrl, 'default');
```


## Adding alternales
## Adding alternates

Using the multilang decorator.

Expand All @@ -116,7 +116,7 @@ $urls->addUrl($decoratedUrl, 'default');
<url>
<loc>https://acme.com/</loc>
<xhtml:link rel="alternate" hreflang="fr" href="https://acme.fr/"/>
<xhtml:link rel="alternate" hreflang="fr" href="https://acme.de/"/>
<xhtml:link rel="alternate" hreflang="de" href="https://acme.de/"/>
</url>
```

Expand Down Expand Up @@ -254,7 +254,7 @@ $urls->addUrl($url, 'default');

## Limitations

The bundle takes care about limit constraints. For example, it automatically divide sections into smaller fragments.
The bundle takes care about limit constraints. For example, it automatically divides sections into smaller fragments.

But there is some cases for which it will just block you from doing forbidden things with exceptions.

Expand Down

0 comments on commit e82473a

Please sign in to comment.