mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
fix empty request title
This commit is contained in:
parent
b1e695d328
commit
c00e4c7e70
@ -43,7 +43,7 @@ if (!empty($q)) {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<?php echo _('en-US'); ?>">
|
<html lang="<?php echo _('en-US'); ?>">
|
||||||
<head>
|
<head>
|
||||||
<title><?php echo sprintf(_('%s - #%s - YGGo!'), htmlentities($q), $p) ?></title>
|
<title><?php echo (empty($q) ? _('Empty request - YGGo!') : ($p > 1 ? sprintf(_('%s - #%s - YGGo!'), htmlentities($q), $p) : sprintf(_('%s - YGGo!'), htmlentities($q)))) ?></title>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="<?php echo _('Javascript-less Open Source Web Search Engine') ?>" />
|
<meta name="description" content="<?php echo _('Javascript-less Open Source Web Search Engine') ?>" />
|
||||||
|
Loading…
Reference in New Issue
Block a user