_includes/section/xyzGroup.html in word-games-theme-0.4.0 vs _includes/section/xyzGroup.html in word-games-theme-0.4.1

- old
+ new

@@ -15,21 +15,21 @@ {{dataToShow.wordLength}} </strong> </div> <div class="main"> {%- for scrabblewords in dataToShow.words-%} - <div class="allGroupWords wordlistContainer" id="alpha_6"> - {%- for item in scrabblewords %} - {%- if forloop.index == 1 -%} + {%- for item in scrabblewords %} + {%- if forloop.index == 1 -%} + <div class="allGroupWords wordlistContainer" id="alpha_{{item.i}}"> <div class="wordListHeading"> <h3 class="lead">{{item.i}} Letter Words</h3> </div> - {%- endif -%} - {%- endfor -%} + <div class="wordList"> <ul class="ul list-unstyled"> {%- for item in scrabblewords %} + {%- assign value = item.word -%} <a class="anchor__style" title="Lookup python in Dictionary" target="_blank" href="/word-meaning?search=phyton"> <li>{{item.word}} <span class="points" value="14" style="position:relative; top:4px; font-size:12px"> {{item.points}}</span> @@ -37,10 +37,11 @@ </a> {%- endfor -%} </ul> </div> </div> + {%- endif -%} {%- endfor -%} - + {%- endfor -%} </div> </div> </div> \ No newline at end of file