add custom search titles

This commit is contained in:
d47081 2022-07-15 20:18:29 +03:00
parent a6f9bd095f
commit e44e4202c2

View File

@ -20,6 +20,8 @@
<meta name="robots" content="noindex,follow" /> <meta name="robots" content="noindex,follow" />
<?php } else if ($tx) { ?> <?php } else if ($tx) { ?>
<title><?php echo $tx && isset($data[0]['key']) ? $data[0]['key'] : $tx; ?> | <?php echo ($namespaceValue ? $namespaceValue : ($namespaceHash ? $namespaceHash : false)); ?> | KVAZAR</title> <title><?php echo $tx && isset($data[0]['key']) ? $data[0]['key'] : $tx; ?> | <?php echo ($namespaceValue ? $namespaceValue : ($namespaceHash ? $namespaceHash : false)); ?> | KVAZAR</title>
<?php } else if ($query) { ?>
<title>KVAZAR | SEARCH | <?php echo $query; ?></title>
<?php } else { ?> <?php } else { ?>
<title>KVAZAR | TODAY</title> <title>KVAZAR | TODAY</title>
<?php } ?> <?php } ?>