diff --git a/site/controllers/home.php b/site/controllers/home.php index d590ae9..929629f 100644 --- a/site/controllers/home.php +++ b/site/controllers/home.php @@ -8,6 +8,7 @@ return function ($page) { // Add url based title to each exhibition foreach ($exhibitions as &$exhibition) { $exhibition['title'] = str_replace(['http://', 'https://', 'www.'], '', $exhibition['url']); + $exhibition['title'] = rtrim($exhibition['title'], '/'); } // Get contact fields content