From b642972d82aa7ed4670be6db161ed029226c9a45 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 23 Mar 2016 16:31:30 -0400 Subject: [PATCH] Rename variables to stay consistent with naming convention --- _includes/gallery | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_includes/gallery b/_includes/gallery index 9530f3b3..9e6f31ea 100644 --- a/_includes/gallery +++ b/_includes/gallery @@ -6,17 +6,17 @@ {% assign gallery = page.gallery %} {% endif %} -{% capture gallery-size %}{{ gallery | size }}{% endcapture %} +{% capture gallery_size %}{{ gallery | size }}{% endcapture %} -{% if gallery-size == '2' %} - {% assign gallery-layout = 'half' %} -{% elsif gallery-size >= '3' %} - {% assign gallery-layout = 'third' %} +{% if gallery_size == '2' %} + {% assign gallery_layout = 'half' %} +{% elsif gallery_size >= '3' %} + {% assign gallery_layout = 'third' %} {% else %} - {% assign gallery-layout = '' %} + {% assign gallery_layout = '' %} {% endif %} -