diff --git a/index.php b/index.php index 75a2977b7f8746a27d7ad249d1ac353f809cdf79..ba7b8663607f788b658d06fadffe7efdf2f1f7f0 100644 --- a/index.php +++ b/index.php @@ -1,26 +1,11 @@ <html lang="en"> <head> - <meta charset="utf-8"> - <meta name="robots" content="noindex,nofollow"> - <meta name="referrer" content="no-referrer"> - <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> - <meta http-equiv="Pragma" content="no-cache"> - <meta http-equiv="Expires" content="0"> - <meta name="author" content="Simpel"> - <meta name="copyright" content="MIT 2021 Simpel"> - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes user-scalable=no"> - <title>Comment Syntax</title> + <?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/head.php"; ?> <link rel="stylesheet" href="style.css"> </head> <body> <header> - <nav> - <a id="logo" class="cursordefault" href="/"><img src="../Simpel.png" alt="simpel icon" height="48" width="48"></a> - <h1>Comment Syntax</h1> - <a id="github" href="https://github.com/SimpelMe/comment-syntax-finder" target="_blank" title="watch source code"> - <img id="github-cat" src="../github.svg" alt="github logo"> - </a> - </nav> + <?php include dirname($_SERVER['DOCUMENT_ROOT']) . "/simpel.cc/php/header.php"; ?> </header> <main> <div> diff --git a/localSettingsHeader.php b/localSettingsHeader.php new file mode 100644 index 0000000000000000000000000000000000000000..9cc421f1c6f54baf3a3747bbd1eede80a750c521 --- /dev/null +++ b/localSettingsHeader.php @@ -0,0 +1,6 @@ +<?php + define("SITE_TITLE", "Comment Syntax"); + define("SITE_COPYRIGHT_CONTENT", "MIT 2021 Simpel"); + define("SITE_H1", "Comment Syntax"); + define("SITE_GITHUB", "https://github.com/SimpelMe/comment-syntax-finder"); +?>