git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better title
[stouyapi.git]
/
bin
/
build-html.php
diff --git
a/bin/build-html.php
b/bin/build-html.php
index f7f915438d8bcff9b1fdc7b9a2c550277d2718f6..112a93d404cde1b575d3c5caad29b349e7d8525c 100755
(executable)
--- a/
bin/build-html.php
+++ b/
bin/build-html.php
@@
-50,7
+50,7
@@
function renderDiscoverFile($discoverFile)
{
$json = json_decode(file_get_contents($discoverFile));
{
$json = json_decode(file_get_contents($discoverFile));
- $title = $json->title;
+ $title = $json->title
. ' OUYA games'
;
$sections = [];
foreach ($json->rows as $row) {
$section = (object) [
$sections = [];
foreach ($json->rows as $row) {
$section = (object) [
@@
-89,8
+89,9
@@
function renderDiscoverFile($discoverFile)
}
$navLinks = [];
}
$navLinks = [];
- if ($title == 'DISCOVER') {
+ if ($
json->
title == 'DISCOVER') {
$navLinks['../'] = 'back';
$navLinks['../'] = 'back';
+ $title = 'OUYA games list';
} else {
$navLinks['./'] = 'discover';
}
} else {
$navLinks['./'] = 'discover';
}