From 7ee1a8d8214b9c667ec8a88b61acd1c905be2f28 Mon Sep 17 00:00:00 2001
From: Sarah Conway Schnurr <sarah.conway@crunchydata.com>
Date: Sat, 24 Aug 2019 08:54:26 -0700
Subject: [PATCH] Testing?

---
 templates/pages/sponsors.html | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/templates/pages/sponsors.html b/templates/pages/sponsors.html
index 75b1fdc..e088367 100644
--- a/templates/pages/sponsors.html
+++ b/templates/pages/sponsors.html
@@ -12,7 +12,9 @@
 </p>
 
 <h2>Diamond</h2>
+{% if loop.index0 is divisibleby 2 %}
 <div class="row">
+{% endif %}
 {% for p in diamond %}
 	<div class="col-md-6">
 		<a href="{{p.link}}" target="_blank"><img id="sponsors" class="my-3" src="{{media("images/" + p.largelogo)}}" alt="{{p.name}}"></a>
@@ -39,7 +41,9 @@
 -->
 <h2>Gold</h2>
 {% for p in gold %}
+{% if loop.index0 is divisibleby 2 %}
 <div class="row">
+{% endif %}
   <div class="col-md-6">
 		<a href="{{p.link}}" target="_blank"><img id="sponsors" class="my-3" src="{{media("images/" + p.largelogo)}}" alt="{{p.name}}"></a>
 		<div class="caption">
@@ -50,7 +54,9 @@
 </div>
 
 <h2>Silver</h2>
+{% if loop.index0 is divisibleby 3 %}
 <div class="row">
+{% endif %}
 {% for p in silver %}
   <div class="col-md-3">
 		<a href="{{p.link}}" target="_blank"><img id="sponsors" class="my-3" src="{{media("images/" + p.largelogo)}}" alt="{{p.name}}"></a>
@@ -63,7 +69,9 @@
 
 
 <h2>Supporter</h2>
+{% if loop.index0 is divisibleby 3 %}
 <div class="row">
+{% endif %}
 {% for p in supporter %}
   <div class="col-md-3">
 		<a href="{{p.link}}" target="_blank"><img id="sponsors" class="my-3" src="{{media("images/" + p.largelogo)}}" alt="{{p.name}}"></a>
-- 
2.39.5

