X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/4d2b9288d5403294fe6541358341986910e43c36..5e4ffee3ec6ac775230341118cc6c4295350bfc8:/bin/build-html.php diff --git a/bin/build-html.php b/bin/build-html.php index f7f9154..112a93d 100755 --- a/bin/build-html.php +++ b/bin/build-html.php @@ -50,7 +50,7 @@ function renderDiscoverFile($discoverFile) { $json = json_decode(file_get_contents($discoverFile)); - $title = $json->title; + $title = $json->title . ' OUYA games'; $sections = []; foreach ($json->rows as $row) { $section = (object) [ @@ -89,8 +89,9 @@ function renderDiscoverFile($discoverFile) } $navLinks = []; - if ($title == 'DISCOVER') { + if ($json->title == 'DISCOVER') { $navLinks['../'] = 'back'; + $title = 'OUYA games list'; } else { $navLinks['./'] = 'discover'; }