add gnu freefont, fix nsfw css, add header function
This commit is contained in:
parent
5ae683fccd
commit
f114e23c4b
10 changed files with 35 additions and 22 deletions
15
config.php
15
config.php
|
|
@ -3,6 +3,10 @@ error_reporting(E_ERROR | E_PARSE);
|
|||
define("bannedhosts", array("google.com"));
|
||||
define("sitename", "Eternal Winter");
|
||||
define("dbfile", "secrets/eternalwinter.db");
|
||||
define("static", "/static");
|
||||
define("banner", "banner.jpg");
|
||||
define("css", "main.css");
|
||||
define("captchafont", "captchafont.ttf");
|
||||
define("footer", '<small>- 🄯 <a href="https://www.xmpub.org">xmpub</a> -<br>Est. Oct 12, 2025</small>');
|
||||
define("categories", array(
|
||||
"blog" => "Blog",
|
||||
|
|
@ -26,5 +30,16 @@ define("categories", array(
|
|||
"other-nothttp" => "Other (nonhttp)"
|
||||
));
|
||||
|
||||
function head($title=null) {
|
||||
echo("<head>");
|
||||
echo('<link rel="stylesheet" href="' . constant("static") . "/css/" . constant("css") . '" id="pagestyle">');
|
||||
echo('<title>' . constant("sitename"));
|
||||
if ($title) {
|
||||
echo(" | " . $title);
|
||||
}
|
||||
echo("</title>");
|
||||
echo("</head>");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue