diff --git a/_layouts/default.html b/_layouts/default.html index e118bd6..9f7abc7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -95,7 +95,7 @@ layout: compress rockstarSpeakers.sort(function() {return 0.5 - Math.random()}); if(rockstarSpeakers.length > 0) { var animationDelay = 1500, - count = {{ site.rockstarSpeakersCount }}, + count = Math.min({{ site.rockstarSpeakersCount }}, rockstarSpeakers.length), colWidth = 12/count; for(i=0; i