summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Kohl <gitlab@jonaskohl.de>2024-07-29 17:47:19 +0200
committerJonas Kohl <gitlab@jonaskohl.de>2024-07-29 17:47:19 +0200
commitcfc50354acbdbebb1ad5564b851496dd89337849 (patch)
tree9e852dd7bf98caa9e3593526f43d315875a462c1
parentaac7b4c43c10d1dbed2847d10440b96a3cdf4971 (diff)
Change title format
-rw-r--r--src/pages/index.php2
-rw-r--r--src/template.php2
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"]) . " &vert; ") : "" ?>hozyro&#039;s site</title>
<link rel="stylesheet" href="/static/style.css?<?= assetver("static/style.css") ?>" type="text/css" />
</head>
<body>