This PR ensures that we are using the correct site when generating the social images. Previously, it would always use the default site. This fix was only possible because of https://github.com/statamic/cms/pull/10109.
This PR also updates the layout stub to use the {{ vite }} tag.
This PR ensures that we are using the correct site when generating the social images. Previously, it would always use the default site. This fix was only possible because of https://github.com/statamic/cms/pull/10109.
This PR also updates the layout stub to use the
{{ vite }}
tag.