File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
< div class ="swiper-wrapper ">
33
33
{% assign swiper-news_counter = 0 %}
34
34
{% for post in site.categories['news'] limit:20 %}
35
- {% if post.categories contains 'swiper-news' and swiper-news_counter < 4 %}
35
+ {% if post.categories contains 'swiper-news' and swiper-news_counter < 6 %}
36
36
{% assign swiper-news_id = post.id %}
37
37
{% assign swiper-news_counter = swiper-news_counter | plus:1 %}
38
38
< div class ="swiper-slide ">
@@ -61,7 +61,7 @@ <h5>Event date: {{ post.event-date | date: "%Y/%m/%d" }}</h5>{%else%}<br>{% end
61
61
</ div >
62
62
<!-- Swiper JS -->
63
63
< script src ="../css/swiper.min.js "> </ script >
64
-
64
+
65
65
<!-- Initialize Swiper -->
66
66
< script >
67
67
var swiper = new Swiper ( '.swiper-container' , {
@@ -111,7 +111,7 @@ <h5>Event date: {{ post.event-date | date: "%Y/%m/%d" }}</h5>{%else%}<br>{% end
111
111
< br />
112
112
</ div >
113
113
114
-
114
+
115
115
116
116
{% assign usual-news-counter = 0 %}
117
117
< div class ="row zebra-md ">
You can’t perform that action at this time.
0 commit comments