Moved <head>-tag to the page files, not all css files will be loaded for each page.
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<?php
|
||||
include("views/head.php");
|
||||
?>
|
||||
<body>
|
||||
<?php
|
||||
/*
|
||||
* This view adds the main layout over the screen.
|
||||
* Header, menu, footer.
|
||||
*/
|
||||
include("views/main.php");
|
||||
<head>
|
||||
<?php include("views/head.php"); ?>
|
||||
<style>
|
||||
@import url("styles/profile.css");
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
/*
|
||||
* This view adds the main layout over the screen.
|
||||
* Header, menu, footer.
|
||||
*/
|
||||
include("views/main.php");
|
||||
|
||||
/* Add your view files here. */
|
||||
include("views/profile.php");
|
||||
/* Add your view files here. */
|
||||
include("views/profile.php");
|
||||
|
||||
/* This adds the footer. */
|
||||
include("views/footer.php");
|
||||
?>
|
||||
</body>
|
||||
/* This adds the footer. */
|
||||
include("views/footer.php");
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user