kunstmaan/sitemap-bundle
最新稳定版本:7.3.0
Composer 安装命令:
composer require kunstmaan/sitemap-bundle
包简介
A sitemap bundle to generate a sitemap for your Kunstmaan bundles website based on its Nodes
关键字:
README 文档
README
The KunstmaanSitemapBundle adds a sitemap to your website. it will generate a sitemap recursively from all the children of the top nodes.
Installation instructions
composer.json
"require": { "kunstmaan/sitemap-bundle": "*" },
AppKernel.php:
public function registerBundles() { $bundles = array( // ... new Kunstmaan\SitemapBundle\KunstmaanSitemapBundle(), // ... );
routing.yml
# KunstmaanSitemapBundle
KunstmaanSitemapBundle:
resource: "@KunstmaanSitemapBundle/Resources/config/routing.yml"
prefix: /{_locale}/
requirements:
_locale: "%requiredlocales%"
Use
Once installed, you will be able to view the generated sitemap XML on the '/en/sitemap.xml' route.
Documentation
The bundle comes with a generated XML and its own sitemap page you can add to your website, for more information, check our the more detailed documentation.
统计信息
- 总下载量: 108.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-05-14