It looks like the Publish static site generator usually picks up static assets from the Resources directory when I run the generator. I've added a favicon.ico file to this directory, but it isn't copied to the default Output directory. There is a Favicon type available with a corresponding favicon property on the Website protocol, but it's unclear how it should be set, and whether that would automatically copy the file to the Output directory.
What's the best way to get the favicon.ico file copied as a resource? Does this need a separate plugin, or how can it be achieved with the Website protocol API?
Place the favicon in the
Resourcesfolder. The Website protocol has a favicon propertyUse that in your site which conforms to Website. You can refer to
Favicontype in Publish for more info.