You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Environment
Laravel Version: 10.48.11
PHP Version: 8.2.16
Composer Version: 2.7.6
Environment: local
Debug Mode: ENABLED
URL: site.test
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Livewire
Livewire: v3.5.0
Sentry
Enabled: MISSING DSN
Environment: local
Laravel SDK Version: 3.8.2
PHP SDK Version: 3.22.1
Release: NOT SET
Sample Rate Errors: 100%
Sample Rate Performance Monitoring: NOT SET
Sample Rate Profiling: NOT SET
Send Default PII: DISABLED
Statamic
Addons: 7
Sites: 2 (Site One, Site Two)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.5.0 PRO
Statamic Addons
aerni/advanced-seo: 2.5.1
jonassiewertsen/statamic-live-search: 2.1.1
jonassiewertsen/statamic-livewire: 3.3.1
rias/statamic-redirect: 3.7.1
statamic/collaboration: 1.0.0
statamic/ssg: 3.0.1
stefangalescu/statamic-heroicons: 3.0
The text was updated successfully, but these errors were encountered:
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: