Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enhancv/gatsby-image-sitemap
Generate sitemap for Gatsby Apps with all image + all resolutions from the built pages.
https://github.com/enhancv/gatsby-image-sitemap
gatsby gatsby-plugin images-sitemap sitemap sitemap-builder
Last synced: about 2 months ago
JSON representation
Generate sitemap for Gatsby Apps with all image + all resolutions from the built pages.
- Host: GitHub
- URL: https://github.com/enhancv/gatsby-image-sitemap
- Owner: enhancv
- Created: 2019-01-10T12:37:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T23:51:52.000Z (10 months ago)
- Last Synced: 2024-10-12T02:58:54.563Z (3 months ago)
- Topics: gatsby, gatsby-plugin, images-sitemap, sitemap, sitemap-builder
- Language: JavaScript
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - gatsby-image-sitemap
README
# gatsby-image-sitemap
This plugin is not a replacement of `gatsby-plugin-sitemap`, but an extension. It crawls all the output pages, collects all the images with their different resolutions and inserts them into a sitemap file. It uses `cheerio` to parse the DOM of the built pages and `sitemap` to generate a working XML sitemap.
### How to install:
yarn add gatsby-image-sitemap
then add
plugins: ["gatsby-image-sitemap"]
to your gatsby-config.js
### Next steps
- Add tests
- Parse non-gatsby images as well### Contributions
All contributions are welcome, as long as you use `https://github.com/enhancv/prettier` to format the code and make a pull-request with properly documented changes.## License
Licensed under the MIT license.Create your resume with Enhancv to make sure the key things come across. Stand out and get that interview.
https://enhancv.com