fix: replace nav/footer placeholder comments with proper PHP includes

This commit is contained in:
Peter Foster
2026-03-02 10:35:11 +00:00
parent e3a1610ade
commit c079aa5d5f
2 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ $twitter_card_image = "https://ukdataservices.co.uk/assets/images/ukds-main-logo
</head> </head>
<body> <body>
<header> <header>
<!-- Main navigation --> <?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'); ?>
</header> </header>
<main> <main>
<section class="hero"> <section class="hero">
@@ -82,7 +82,7 @@ $twitter_card_image = "https://ukdataservices.co.uk/assets/images/ukds-main-logo
</section> </section>
</main> </main>
<footer> <footer>
<!-- Main footer --> <?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'); ?>
</footer> </footer>
</body> </body>
</html> </html>

View File

@@ -53,7 +53,7 @@ $twitter_card_image = "https://ukdataservices.co.uk/assets/images/ukds-main-logo
</head> </head>
<body> <body>
<header> <header>
<!-- Main site header here --> <?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'); ?>
</header> </header>
<main> <main>
@@ -85,7 +85,7 @@ $twitter_card_image = "https://ukdataservices.co.uk/assets/images/ukds-main-logo
</main> </main>
<footer> <footer>
<!-- Main site footer here --> <?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'); ?>
</footer> </footer>
</body> </body>
</html> </html>