diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pages/index.php | 2 | ||||
-rw-r--r-- | src/template.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/index.php b/src/pages/index.php index 973838b..29d435f 100644 --- a/src/pages/index.php +++ b/src/pages/index.php @@ -1,4 +1,4 @@ -<param:title>hozyro's site</param:title> +<param:title></param:title> <param:active-link>home</param:active-link> <table style="width:100%;border-collapse:collapse" cellspacing="0"> diff --git a/src/template.php b/src/template.php index 351d201..1b769b5 100644 --- a/src/template.php +++ b/src/template.php @@ -11,7 +11,7 @@ $nav = fn(string $ln) => <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="MSThemeCompatible" content="no" /> <meta name="format-detection" content="telephone=no" /> - <title><?= htmlentities($params["title"] ?? "") ?></title> + <title><?= !empty($params["title"]) ? (htmlentities($params["title"]) . " | ") : "" ?>hozyro's site</title> <link rel="stylesheet" href="/static/style.css?<?= assetver("static/style.css") ?>" type="text/css" /> </head> <body> |