Skip to content

Commit 78f99b8

Browse files
authored
Update README.md
1 parent 3921ccc commit 78f99b8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ This componenet automaticaly generates sitemap from annotated presenter actions.
3131
services:
3232
- Nepttune\Component\ISitemapFactory
3333
```
34+
You can optionaly provide configuration array and enable hreflang links to be included for each entry (Requires translator in presenter).
35+
```
36+
parameters:
37+
sitemap:
38+
hreflang: true
39+
40+
services:
41+
sitemapFactory:
42+
implement: Nepttune\Component\ISitemapFactory
43+
arguments:
44+
- '%sitemap%'
45+
```
3446

3547
### Example presenter
3648

0 commit comments

Comments
 (0)