Browse Source

add custom search titles

pull/8/head
d47081 2 years ago
parent
commit
e44e4202c2
  1. 2
      public/index.phtml

2
public/index.phtml

@ -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 } ?>

Loading…
Cancel
Save