Category subtitles config option
[stouyapi.git] / data / templates / discover.tpl.php
index d233207e079b63ef12ed8771e7e6a5fda9a0320b..7184837012ea0553f27df1a06cab6bc4872748a0 100644 (file)
@@ -9,7 +9,7 @@
  </head>
  <body class="discover">
   <header>
-   <h1><?= htmlspecialchars($json->title); ?></h1>
+   <h1><?= htmlspecialchars($json->title); ?><?php if($subtitle) { echo ': ' . $subtitle; } ?></h1>
    <a href="./"><img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/></a>
   </header>