From aa76c520e5ba358cf8a0cbacdc1e1eea6112e6e9 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Sun, 17 Nov 2024 19:20:30 +0000 Subject: [PATCH] Fix homepage devroom count --- layouts/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/main.html b/layouts/main.html index 7ae4a27f..7e51e34a 100644 --- a/layouts/main.html +++ b/layouts/main.html @@ -95,7 +95,7 @@

Brussels / <%= $layout_dateline %>

end { 'beer' => '/practical/beer/', - "#{ tracks.count } devrooms" => '/schedule/tracks/', + "#{ tracks.select{|t| t[:type] == 'devroom'}.count } devrooms" => '/schedule/tracks/', 'open source' => 'https://en.wikipedia.org/wiki/Open-source_model', '8000+ hackers' => nil, 'lightning talks' => '/schedule/track/lightning_talks/',