Fix button roundtrip in editor, alignment persistence, and test email rendering
This commit is contained in:
@@ -20,7 +20,13 @@
|
||||
} else {
|
||||
// Full SPA mode starts at shop
|
||||
$page_type = 'shop';
|
||||
$data_attrs = 'data-page="shop" data-initial-route="/shop"';
|
||||
|
||||
// If this is the front page, route to /
|
||||
if (is_front_page()) {
|
||||
$data_attrs = 'data-page="shop" data-initial-route="/"';
|
||||
} else {
|
||||
$data_attrs = 'data-page="shop" data-initial-route="/shop"';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user