Commit c4666cce by Manzar Hussain

loop first

parent 9be02a48
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<div class="hs_wrap_c scroll-pane"> <div class="hs_wrap_c scroll-pane">
<ul class="count_li_item"> <ul class="count_li_item">
{% for row in rows %} {% for row in rows %}
<li {% if loop.index %} class="blue" {% endif %}> <li {% if loop.first %} class="" {% elseif loop.index %} class="blue" {% endif %}>
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }} {{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }} {{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment