From 36a7c9cbd1c6f353714a95d9c085f10afd7d3938 Mon Sep 17 00:00:00 2001 From: Joe Curlee Date: Tue, 16 Jul 2013 09:10:25 -0500 Subject: [PATCH] split asm content into two columns --- controllers/landing.js | 1 + views/landing/after-school-matters.html | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/controllers/landing.js b/controllers/landing.js index 32b4ef1..51d2873 100644 --- a/controllers/landing.js +++ b/controllers/landing.js @@ -4451,6 +4451,7 @@ module.exports = function (app) { ] res.render('landing/after-school-matters.html', { orgs: orgs, + split_column_number:Math.ceil(orgs.length / 2) }); }); }; \ No newline at end of file diff --git a/views/landing/after-school-matters.html b/views/landing/after-school-matters.html index c8071f0..90285c4 100644 --- a/views/landing/after-school-matters.html +++ b/views/landing/after-school-matters.html @@ -7,8 +7,12 @@

After School Matters® is a non-profit organization that offers Chicago high school teens innovative out-of-school activities through Science, Sports, Tech, Words and nationally recognized Gallery programs.

Check out the variety of programs offered by After School Matters as part of the Chicago Summer of Learning below. You can contact 312-742-4182 to learn more and enroll in programs that excite you.

- + + {% endif %} + {% endfor %} + + {% endblock %} \ No newline at end of file