File tree 1 file changed +16
-8
lines changed
1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -97,14 +97,22 @@ <h3>{{ page.title }} とは</h3>
97
97
98
98
< div >
99
99
< h3 > 主な特徴</ h3 >
100
- < div class ="feature row ">
101
- {% for feature in page.features %}
102
- < div class ="col-sm-6 {% cycle 'prepend-1', 'append-1 last' %} ">
103
- < h5 > {{ feature.name }}</ h5 >
104
- < div > < img class ="ss " src ="{{ feature.image }} " /> </ div >
105
- </ div >
106
- {% endfor %}
107
- </ div >
100
+ {% for feature in page.features %}
101
+ {% capture thecycle %}{% cycle 'odd', 'even' %}{% endcapture %}
102
+ {% if thecycle == 'odd' %}
103
+ < div class ="feature row ">
104
+ < div class ="col-md-offset-1 col-sm-5 ">
105
+ < h5 > {{ feature.name }}</ h5 >
106
+ < div > < img class ="ss " src ="{{ feature.image }} " /> </ div >
107
+ </ div >
108
+ {% else %}
109
+ < div class ="col-sm-5 ">
110
+ < h5 > {{ feature.name }}</ h5 >
111
+ < div > < img class ="ss " src ="{{ feature.image }} " /> </ div >
112
+ </ div >
113
+ </ div >
114
+ {% endif %}
115
+ {% endfor %}
108
116
</ div >
109
117
110
118
< div >
You can’t perform that action at this time.
0 commit comments