🎨 Move default theme markup to the app layout

🐛 Fix uncontrollable HTML output (Fixes #3166)
This commit is contained in:
Brandon
2023-12-18 20:15:03 -06:00
parent 588297f063
commit dd114a4798
2 changed files with 33 additions and 33 deletions

View File

@@ -1,20 +1 @@
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
</html>
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>