diff --git a/php-template/template.php b/php-template/template.php index a6713ab..9abae17 100644 --- a/php-template/template.php +++ b/php-template/template.php @@ -42,6 +42,49 @@ function sluggify($input) { + 1): ?> + + 8) { + $wardListChunkSize = ceil($wardCount / 2); + } else { + $wardListChunkSize = $wardCount; + } + + $wardChunks = array_chunk($config['wardNames'], $wardListChunkSize); + + ?> + +
+ + + + $wardName): ?>