astro-theme-cactus icon indicating copy to clipboard operation
astro-theme-cactus copied to clipboard

Automatic robots.txt / webmanifest generation

Open MelihDarcanxyz opened this issue 1 year ago • 1 comments

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.svg and forget about icons now. It's automatically handled by astro-webmanifest. Multiple sizes are generated including Apple touch icons.
  • Also, webmanifest config takes it inputs largely from siteConfig which makes it robust to the manual edits. Change the site config and you're ready.
  • Nothing visual has changed.

MelihDarcanxyz avatar Sep 03 '24 09:09 MelihDarcanxyz

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Sep 03 '24 09:09 netlify[bot]

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

chrismwilliams avatar Sep 23 '24 12:09 chrismwilliams