diff options
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php index 1de542e..c62faf5 100644 --- a/public/index.php +++ b/public/index.php @@ -15,6 +15,10 @@ case("/about/"): case("/projects/"): echo $twig->render('projects.html'); break; +case("/tool"): + header("Location: https://" . $_SERVER["HTTP_HOST"] . "/tools/"); + exit; + break; case("/tools/"): echo $twig->render('tools.html'); break; @@ -31,11 +35,17 @@ case("/tools/untrack/"): } echo $twig->render('tools/untrack/index.html', [ "url" => $_url ]); break; +case("/tools/tanz/"): + echo $twig->render('tools/bpm/index.html', [ "dances" => get_dances() ]); + break; +case("/feeds/"): + echo $twig->render('feeds.html'); + break; case("/tools/zeitumstellung/"): echo $twig->render('tools/zeitumstellung/index.html', [ "tc" => new Zeitumstellung() ]); break; -case("/tools/tanz/"): - echo $twig->render('tools/bpm/index.html', [ "dances" => get_dances() ]); +case("/tools/ghrss/"): + echo $twig->render('tools/ghrss/index.html', [ "data" => get_ghrss_feeds() ]); break; default: if ( str_ends_with($url, "/") ) { |
