codesache/addrelcanonical-bundle
最新稳定版本:1.0.1
Composer 安装命令:
composer require codesache/addrelcanonical-bundle
包简介
Allow to rel='canonical' entries for glossray-, faq- and news-entries
README 文档
README
Allows to add individual
<link rel="canonical" href="...">
entries for pages that show glossary-, FAQ-, calendar, or news items (i.e. pages where the respective reader module is included).
Supported bundles
- Glossary
"oveleon/contao-glossary-bundlewith version constraint"^2.0". - FAQ
"contao/faq-bundle - News
"contao/news-bundle - Calendar
"contao/calendar-bundle.
Note
Not selecting an option for “rel="canonical" setzen"” or selecting the option “Nicht setzen” does not mean there will
be no <link rel="canonical" ...> in the page. It just means, this bundle will not perform any action (and Contao will
probably set the header value).
Roadmap
Make this bundle work with Contao 5.x.
Required work: switch from the legacy content elements and frontend modules to controllers.
As of now
- Glossary should be OK already
- FAQ
"contao/faq-bundlestill hascontao/modules/ModuleFaqReader - News
"contao/news-bundlestill hascontao/modules/ModuleNewsReader - Calendar
"contao/calendar-bundlestill hascontao/modules/ModuleEventReader
so the bundle should work with Contao 5.x already. (TODO test it!).
References
- https://github.com/plenta/contao-rel-canonical-bundle Does more or less the same, but does not handle
glossaray items (see https://github.com/oveleon/contao-glossary-bundle)
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-07