SSG doesn't seem to be able to find a template when using template: '@blueprint'
using multisite
#167
Labels
bug
Something isn't working
SSG doesn't seem to be able to find a template when using
template: '@blueprint'
using multisite (note: this could also be a problem without using multisite—I haven't tested).Switching to an explicit template solves this.
How to Replicate
Go into the page in the CP, choose a page from the second site e.g. the home page, and select
Map to Blueprint
from the dropdown.e.g. if the blueprint is called 'Home', then this should look for the template in
secondsite/pages/home.antlers.html
This indeed works fine if you're running the site as normal, but when running
php please ssg:generate
it returns the error/second_domain (View [pages.home] not found.)
Support Details:
The text was updated successfully, but these errors were encountered: