From cfc50354acbdbebb1ad5564b851496dd89337849 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Mon, 29 Jul 2024 17:47:19 +0200 Subject: Change title format --- src/pages/index.php | 2 +- 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 @@ -hozyro's site + home 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) => - <?= htmlentities($params["title"] ?? "") ?> + <?= !empty($params["title"]) ? (htmlentities($params["title"]) . " | ") : "" ?>hozyro's site" type="text/css" /> -- cgit v1.2.3