Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobdenotter/sitemap
Provide a sitemap (.xml) for your Bolt 4 site
https://github.com/bobdenotter/sitemap
Last synced: 25 days ago
JSON representation
Provide a sitemap (.xml) for your Bolt 4 site
- Host: GitHub
- URL: https://github.com/bobdenotter/sitemap
- Owner: bobdenotter
- License: mit
- Created: 2020-09-11T09:44:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-09T10:13:24.000Z (over 2 years ago)
- Last Synced: 2024-09-27T03:21:04.042Z (about 1 month ago)
- Language: XSLT
- Size: 30.3 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bolt Sitemap Extension
Author: Bob den Otter
This Bolt extension can be used to add a `sitemap.xml` to your site..
Installation:
```bash
composer require bobdenotter/sitemap
```.. and, you're good to go! Visit `/sitemap.xml` on your site, and you should
see the result!**Warning:** To generate the correct new links to contenttypes using overrides in `routes.yaml`, update your ContentType definition by setting e.g. `record_route: pagebinding`. Otherwise, the sitemap will still show Bolt's default routes.
-------
The part below is only for _developing_ the extension. Not required for general
usage of the extension in your Bolt Project.## Running PHPStan and Easy Codings Standard
First, make sure dependencies are installed:
```bash
COMPOSER_MEMORY_LIMIT=-1 composer update
```And then run ECS:
```bash
vendor/bin/ecs check src --fix
```