astro-theme-cactus
astro-theme-cactus copied to clipboard
Automatic robots.txt / webmanifest generation
What kind of changes does this PR include?
- Automatic robots.txt generation
- Automatic webmanifest / icon generation
Description
- Since a change of domain can result in many manual edits, it can increase the risk of wrong domains in some files. This is especially important for a template theme. So robots.txt is generated using astro.config.site now.
- User can change the
icon.svgand forget about icons now. It's automatically handled byastro-webmanifest. Multiple sizes are generated including Apple touch icons. - Also, webmanifest config takes it inputs largely from
siteConfigwhich makes it robust to the manual edits. Change the site config and you're ready. - Nothing visual has changed.
Deploy Preview for astro-theme-cactus ready!
| Name | Link |
|---|---|
| Latest commit | 9a13029853eeac032d5690cc1fb2219799d1ad00 |
| Latest deploy log | https://app.netlify.com/sites/astro-theme-cactus/deploys/66f158b41ac82300097d87f3 |
| Deploy Preview | https://deploy-preview-301--astro-theme-cactus.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks @MelihDarcanxyz for doing this. I've added back some static links just to speed-up builds, particularly page heavy sites, and to show a favicon in dev