| @@ -115,9 +115,12 @@ | ||
| 115 | 115 | if (context.search.preview === "stylebook" || !await isBlockTheme()) { |
| 116 | 116 | return null; |
| 117 | 117 | } |
| 118 | 118 | return { |
| 119 | - isPreview: true | |
| 119 | + isPreview: true, | |
| 120 | + // Styling the site means styling the template around it, so it is | |
| 121 | + // shown even when the canvas resolves to a static front page. | |
| 122 | + renderingMode: "template-locked" | |
| 120 | 123 | }; |
| 121 | 124 | } |
| 122 | 125 | }; |
| 123 | 126 | export { |