Refactor header PHP inclusion and fix typo in index.php
Moved PHP includes inside the `<head>` tag in `header.php` for proper structure and readability. Fixed a typo in variable name `$URLsorrection` in `index.php` to ensure correct script inclusion.
This commit is contained in:
parent
38f87cd598
commit
5be4001ee2
@ -1,13 +1,12 @@
|
||||
<?php
|
||||
|
||||
include_once "meta/meta.php";
|
||||
include_once "meta/config.php";
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php
|
||||
|
||||
include_once "meta/meta.php";
|
||||
include_once "meta/config.php";
|
||||
|
||||
?>
|
||||
<title>Warmseal - The Roofing Specialist</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
@ -8,7 +8,7 @@ $PageDescription = "Trusted roofing specialists in the UK, Warmseal Roofing offe
|
||||
include_once $URLcorrection . "includes/header.php";
|
||||
include_once $URLcorrection . "includes/nav.php";
|
||||
include_once $URLcorrection . "includes/index-hero.php";
|
||||
include_once $URLsorrection . "sections/about-us.php";
|
||||
include_once $URLcorrection . "sections/about-us.php";
|
||||
include_once $URLcorrection . "sections/counter.php";
|
||||
include_once $URLcorrection . "sections/services.php";
|
||||
include_once $URLcorrection . "sections/projectsphp";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user