word-games-theme 1.0.7 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b51d0acac8acc2476503093fb40e98852a23fac7334fdd3b416e03933ce7216
4
- data.tar.gz: 67695d6c784f641d2d272f92c8847f7b0eba3d4d4836693621e202ed6397160a
3
+ metadata.gz: 1fac7816d22aa585e1597a8162ec27c4cc146c649bd88f283091800f1380bd0e
4
+ data.tar.gz: e62e8a2388d6e56b3c5c9d582843ce7fa6b32e33a2fbadd2ceeb0c24454c7f91
5
5
  SHA512:
6
- metadata.gz: 07d732876f363d7a9af8395fc7b955f873d1d0f39958c5f11a048c97743410f9fd896ec2d0e7413e498dc714f32994190b96e889afa85f3acb91c40c82222e6d
7
- data.tar.gz: 0ff82f29c0f5c1b0ffe109d99e85e5044a464ecd5afc0a72d4fcb9948e5edb1b947c53d31e70e12f637614d18c74e2df7a8ea02dda7a889fe181f88240510041
6
+ metadata.gz: 5e2dc7d5ca132feb8d67959d67af337e19eab6f28d3e086a27a6290f4a1d3647bc0717e2d79f1c99dc066a662652a5be132ddb24f004fa1820a121fa8f39c565
7
+ data.tar.gz: 6e66fedaf884043783417ba4f23f5ff0bceb6d90ade729040406558dc5b92c9e693688dabd98c4aa929b5c1ea60370f81a81b77719097e62cb87516065359128
@@ -1,6 +1,24 @@
1
+ {% if site.MonumetricID %}
2
+ <div class="row">
3
+ <div class="col-md-8 mx-auto">
4
+ <div id="disqus_thread"></div>
5
+ <script>
6
+ (function () {
7
+ var d = document, s = d.createElement('script');
8
+ s.src = 'https://{{site.disqus.shortname}}.disqus.com/embed.js';
9
+ s.setAttribute('data-timestamp', +new Date());
10
+ (d.head || d.body).appendChild(s);
11
+ })();
12
+ </script>
13
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
14
+ Disqus.</a></noscript>
15
+
16
+ </div>
17
+ </div>
18
+ {%- else -%}
1
19
  <div id="disqus_thread"></div>
2
20
  <script>
3
- (function () {
21
+ (function () {
4
22
  var d = document, s = d.createElement('script');
5
23
  s.src = 'https://{{site.disqus.shortname}}.disqus.com/embed.js';
6
24
  s.setAttribute('data-timestamp', +new Date());
@@ -8,4 +26,5 @@
8
26
  })();
9
27
  </script>
10
28
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
11
- Disqus.</a></noscript>
29
+ Disqus.</a></noscript>
30
+ {%- endif -%}
@@ -0,0 +1,84 @@
1
+ {% assign lang = page.lang %}
2
+ {% assign dataToShow = site.data.footer[lang].data %}
3
+ {%- assign networksitesData = site.data.footer.networksites -%}
4
+ {% assign dataFile= site.data[folder][lang][file] %}
5
+
6
+ <footer class="footer-section">
7
+ <div class="footer-wrap">
8
+ <div class="container">
9
+ <div class="footer-single-col">
10
+ <div class="row text-center">
11
+ <div class="col-lg-8 mx-auto">
12
+ <div class="row d-flex mt-5">
13
+ <div class="col-md-6 txt-secondary">
14
+ <p class=" font-weight-bold txt-primary footer_subheading">{{dataToShow.linksTitle |
15
+ default:
16
+ 'Links' }}</p>
17
+ {% for data in dataToShow.links %}
18
+ <p class="mb-4"><a class="footer-links txt-secondary"
19
+ href="{{data.url}}">{{data.name}}</a></p>
20
+ {% endfor %}
21
+ </div>
22
+ <div class="col-md-6 txt-secondary ">
23
+ <p class=" font-weight-bold txt-primary footer_subheading">{{dataToShow.producttitle |
24
+ default:
25
+ 'tools' }}</p>
26
+ {% for data in dataToShow.tools %}
27
+ <p class="mb-4"><a class="footer-links txt-secondary"
28
+ href="{{data.url}}">{{data.name}}</a></p>
29
+ {% endfor %}
30
+ </div>
31
+ <div class="col-md-6 txt-secondary ">
32
+ <p class="font-weight-bold txt-primary footer_subheading">{{dataToShow.networksitestitle
33
+ |
34
+ default: 'Network sites'}}</p>
35
+ {% for data in networksitesData.networkSites %}
36
+ <p class="mb-4"><a class="footer-links txt-secondary"
37
+ href="{{data.url}}">{{data.name}}</a></p>
38
+ {% endfor %}
39
+ </div>
40
+ <div class="col-md-6 txt-secondary">
41
+ <p class=" font-weight-bold txt-primary footer_subheading">{{dataToShow.companytitle |
42
+ default:
43
+ 'Company' }}</p>
44
+ {% for data in dataToShow.company %}
45
+ <p class="mb-4"><a class="footer-links txt-secondary"
46
+ href="{{data.url}}">{{data.name}}</a></p>
47
+ {% endfor %}
48
+ </div>
49
+ </div>
50
+ <div class="col-md-12 txt-secondary mb-5">
51
+ {%- if dataToShow.logo -%}
52
+ <div class="footer-logo-cont">
53
+ <img loading="lazy" src="{{dataToShow.logo}}" title="logo" class="footer-logo d-block"
54
+ alt="footer logo" width="30px">
55
+ <span class="email_heaidng">
56
+ {{dataToShow.heading}}
57
+ </span>
58
+ <!-- <div class="footer-title">{{dataToShow.heading}}</div> -->
59
+ </div>
60
+ {%- endif -%}
61
+ <hr class="footer_hr">
62
+ <div class="footer-social-list mt-4">
63
+ <ul class="list-inline">
64
+ {% for data in dataToShow.social %}
65
+ <li>
66
+ <a href="{{data.url}}" target="_blank">
67
+ <i class="{{data.icon}}"></i>
68
+ </a>
69
+ </li>
70
+ {% endfor %}
71
+ </ul>
72
+ </div>
73
+ </div>
74
+ <div class="copyright-text mt-5 txt-secondary text-center">
75
+ <p>
76
+ {{dataToShow.messege}}
77
+ </p>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </footer>
@@ -1,6 +1,37 @@
1
+ {% if site.MonumetricID %}
1
2
  <div class="explore">
2
- <h2>Explore <span class="d-none d-md-inline">→</span></h2>
3
+ <div class="row">
4
+ <div class="col-md-8 mx-auto">
5
+
6
+ <h2 class="text-center font-weight-bolder mb-5">Explore <span class="d-none d-md-inline">→</span></h2>
7
+ <ul>
8
+ {% assign categories_list = site.categories %}
9
+ {% if categories_list.first[0] == null %}
10
+ {% for category in categories_list %}
11
+ <a class="cat mt-1 mb-1"
12
+ href="/blog/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{
13
+ category
14
+ |
15
+ camelcase }} ({{ site.tags[category].size }})</a>
16
+ {% endfor %}
17
+ {% else %}
18
+ {% for category in categories_list %}
19
+ <a class="cat mt-1 mb-1"
20
+ href="/blog/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{
21
+ category[0]
22
+ | camelcase }} ({{ category[1].size }})</a>
23
+ {% endfor %}
24
+ {% endif %}
25
+ {% assign categories_list = nil %}
26
+ </ul>
27
+
28
+ </div>
29
+ </div>
30
+ </div>
31
+ {%- else -%}
3
32
 
33
+ <div class="explore">
34
+ <h2>Explore <span class="d-none d-md-inline">→</span></h2>
4
35
  <ul>
5
36
  {% assign categories_list = site.categories %}
6
37
  {% if categories_list.first[0] == null %}
@@ -19,6 +50,5 @@
19
50
  {% endif %}
20
51
  {% assign categories_list = nil %}
21
52
  </ul>
22
-
23
53
  </div>
24
- </div>
54
+ {%- endif -%}
@@ -1,11 +1,12 @@
1
1
  <div class="container">
2
2
  <div class="relatedPosts">
3
- {%- if site.posts.size>0 -%}
4
- <h1 class="related_post_heading">Recent Posts</h1>
5
- {%- endif -%}
3
+
6
4
  {% if site.MonumetricID %}
7
5
  <div class="row">
8
6
  <div class="col-lg-8 mx-auto">
7
+ {%- if site.posts.size>0 -%}
8
+ <h1 class="related_post_heading text-center">Recent Posts</h1>
9
+ {%- endif -%}
9
10
  <div class="row">
10
11
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
11
12
  {% for post in posts limit: 6%}
@@ -45,6 +46,9 @@
45
46
  </div>
46
47
  </div>
47
48
  {%- else -%}
49
+ {%- if site.posts.size>0 -%}
50
+ <h1 class="related_post_heading">Recent Posts</h1>
51
+ {%- endif -%}
48
52
  <div class="row">
49
53
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
50
54
  {% for post in posts limit: 6%}
@@ -1,3 +1,184 @@
1
+ {%- if site.MonumetricID -%}
2
+ <section class="related-posts-section">
3
+ <div class="container">
4
+ <div class="relatedPosts">
5
+
6
+ {% assign maxRelated = 6 %}
7
+ {% assign minCommonTags = 1 %}
8
+ {% assign maxRelatedCounter = 0 %}
9
+ {% assign file = page.fileName %}
10
+ {% assign lang = "en" %}
11
+ {% assign folder = page.folderName %}
12
+ {%- if site.data[folder][lang][file].categories -%}
13
+ {% assign categories= site.data[folder][lang][file].categories %}
14
+ {%- else -%}
15
+ {% assign categories= page.categories %}
16
+ {%- endif -%}
17
+ {%- if site.data[folder][lang][file].tags -%}
18
+ {% assign tags= site.data[folder][lang][file].tags %}
19
+ {%- else -%}
20
+ {% assign tags= page.tags %}
21
+ {%- endif -%}
22
+
23
+ <div class="row">
24
+ <div class="col-lg-8 mx-auto">
25
+ <h2 class="pt-5 pb-0 related_post_heading text-center">You might also like</h2>
26
+ <div class="row">
27
+ {% for post in site.posts %}
28
+ {% assign sameTagCount = 0 %}
29
+ {% assign commonTags = '' %}
30
+
31
+ {%- if categories -%}
32
+ {% for category in post.categories %}
33
+ {% if post.url != page.url %}
34
+ {% if categories contains category %}
35
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
36
+ {% endif %}
37
+ {% endif %}
38
+ {% endfor %}
39
+ {%- endif -%}
40
+
41
+ {%- if tags -%}
42
+ {% for tag in post.tags %}
43
+ {% if post.url != page.url %}
44
+ {% if tags contains tag %}
45
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
46
+ {% endif %}
47
+ {%- endif -%}
48
+ {% endfor %}
49
+ {%- endif -%}
50
+
51
+
52
+ {% if sameTagCount >= minCommonTags %}
53
+ {%- include authors/authors.html-%}
54
+ <div class="col-md-6 mb-4 card-group">
55
+ <div class="card h-100">
56
+ <a href="{{ post.url }}">
57
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
58
+ width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
59
+ endif -%}>
60
+ </a>
61
+ <div class="card-body">
62
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
63
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
64
+ </a>
65
+ </div>
66
+ <div class="card-footer bg-white">
67
+ <div class="wrapfooter">
68
+ {% if post.author %}
69
+ <span class="meta-footer-thumb">
70
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
71
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
72
+ -%}>
73
+ </span>
74
+ {% endif %}
75
+
76
+ <span class="author-meta">
77
+ <span class="post-name">
78
+ <a target="_blank" href="/blog">{{authorName}}</a>
79
+ </span><br>
80
+ <span class="post-date">{{post.date | date_to_string }}</span>
81
+ </span>
82
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
83
+ title="Read Story">Read
84
+ More</a></span>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
90
+ {% if maxRelatedCounter >= maxRelated %}
91
+ {% break %}
92
+ {% endif %}
93
+ {%- else -%}
94
+ {%- endif -%}
95
+ {% endfor %}
96
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
97
+
98
+
99
+
100
+
101
+ {%- if remamingPosts > 0 -%}
102
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
103
+ {% for post in posts %}
104
+ {%- if remamingPosts > 0 -%}
105
+ {%- assign tagData = true -%}
106
+ {%- assign catData = true -%}
107
+ {%- if tags -%}
108
+ {% for tag in post.tags %}
109
+ {% if post.url != page.url %}
110
+ {% if tags contains tag %}
111
+ {%- assign tagData = false -%}
112
+ {%- break -%}
113
+ {% endif %}
114
+ {%- endif -%}
115
+ {% endfor %}
116
+ {%- endif -%}
117
+ {%- if categories -%}
118
+ {%- if tagData == false -%}
119
+ {%- continue -%}
120
+ {%- else -%}
121
+ {% for category in post.categories %}
122
+ {% if post.url != page.url %}
123
+ {% if categories contains category %}
124
+ {%- assign catData = false -%}
125
+ {%- break -%}
126
+ {% endif %}
127
+ {% endif %}
128
+ {% endfor %}
129
+ {%- endif -%}
130
+ {%- if catData == false -%}
131
+ {%- continue -%}
132
+ {%- endif -%}
133
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
134
+ {%- include authors/authors.html-%}
135
+ <div class="col-md-6 mb-4 card-group">
136
+ <div class="card h-100">
137
+ <a href="{{ post.url }}">
138
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
139
+ loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
140
+ endif -%}>
141
+ </a>
142
+ <div class="card-body">
143
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
144
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
145
+ </a>
146
+ </div>
147
+ <div class="card-footer bg-white">
148
+ <div class="wrapfooter">
149
+ {% if post.author %}
150
+ <span class="meta-footer-thumb">
151
+ <img class="author-thumb" loading="lazy" src="{{image}}"
152
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
153
+ -%}>
154
+ </span>
155
+ {% endif %}
156
+ <span class="author-meta">
157
+ <span class="post-name">
158
+ <a target="_blank" href="/blog">{{authorName}}</a>
159
+ </span><br>
160
+ <span class="post-date">{{post.date | date_to_string }}</span>
161
+ </span>
162
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
163
+ title="Read Story">Read
164
+ More</a></span>
165
+ </div>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ {%- endif -%}
170
+ {%- endif -%}
171
+
172
+ {% endfor %}
173
+ {%- endif -%}
174
+
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ </section>
181
+ {%- else -%}
1
182
  <section class="related-posts-section">
2
183
  <div class="container">
3
184
  <div class="relatedPosts">
@@ -167,4 +348,5 @@
167
348
  </div>
168
349
  </div>
169
350
  </div>
170
- </section>
351
+ </section>
352
+ {%- endif -%}
data/_layouts/blog.html CHANGED
@@ -9,8 +9,15 @@
9
9
  <div class="container">
10
10
  <div class="row justify-content-center section-title-wrap">
11
11
  <div class="col-lg-12">
12
- <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
12
+ {%- if site.MonumetricID -%}
13
+ <h1 style="font-weight: 900;" class="display-4 text-center m-0 small_description">{{
14
+ site.data.blog.blog.h1 }}
13
15
  </h1>
16
+ {%- else -%}
17
+ <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{
18
+ site.data.blog.blog.h1 }}
19
+ </h1>
20
+ {%- endif -%}
14
21
  <p class="lead mb-5 mt-1" style="font-size: 18px;">
15
22
  {{ site.data.blog.blog.description }}
16
23
  </p>
@@ -19,6 +26,49 @@
19
26
  <div class="main-content">
20
27
  {{content}}
21
28
  </div>
29
+ {%- if site.MonumetricID -%}
30
+ <div class="row">
31
+ <div class="col-lg-8 col-md-12 mx-auto">
32
+ <div class="row">
33
+ {% for post in paginator.posts %}
34
+ <div class="col-lg-6 col-md-6 mb-4 card-group">
35
+ <div class="card h-100">
36
+ <a href="{{ post.url }}">
37
+ <img src="{{ post.image }}" loading="lazy" height="215px" width="100%"
38
+ class="card-img-top" alt="">
39
+ </a>
40
+ <div class="card-body">
41
+ <a href="{{ post.url }}" class="anchor_link">
42
+ <h4 class="card-title mb-4">{{ post.title }}</h4>
43
+ </a>
44
+ </div>
45
+ {%- include authors/authors.html -%}
46
+ <div class="card-footer bg-white">
47
+ <div class="wrapfooter">
48
+ {% if post.author %}
49
+ <span class="meta-footer-thumb">
50
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
51
+ alt="{{ authorName }}">
52
+ </span>
53
+ {% endif %}
54
+
55
+ <span class="author-meta">
56
+ <span class="post-name">
57
+ <a target="_blank" href="/blog">{{authorName}}</a>
58
+ </span><br>
59
+ <span class="post-date">{{post.date | date_to_string }}</span>
60
+ </span>
61
+ <span class="post-read-more "><a class="text-dark" href="{{ post.url }}"
62
+ title="Read Story">Read More</a></span>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ {% endfor %}
68
+ </div>
69
+ </div>
70
+ </div>
71
+ {%- else -%}
22
72
  <div class="row">
23
73
  {% for post in paginator.posts %}
24
74
  <div class="col-lg-4 col-md-6 mb-4 card-group">
@@ -54,10 +104,10 @@
54
104
  </div>
55
105
  </div>
56
106
  {% endfor %}
107
+ {%- endif -%}
57
108
  </div>
58
109
  {%- include paginationBlogPage.html -%}
59
110
  </div>
60
-
61
111
  {% include section/count.html %}
62
112
  </section>
63
113
  <!-- {%- include section/alertbar.html -%} -->
@@ -53,7 +53,12 @@
53
53
  {%- include section/recent_posts.html -%}
54
54
  {% endif %}
55
55
 
56
+ {%- if site.MonumetricID -%}
57
+ {%- include footer/unqFooter.html -%}
58
+ {%- else -%}
56
59
  {%- include footer/index.html -%}
60
+ {%- endif -%}
61
+
57
62
 
58
63
  {%- include script.html -%}
59
64
 
@@ -87,7 +92,7 @@
87
92
  e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, "")
88
93
  let rangeOfBlankTile = '{{ page.blanktilerange }}'
89
94
  if (rangeOfBlankTile === "") {
90
- rangeOfBlankTile = 5
95
+ rangeOfBlankTile = 3
91
96
  }
92
97
  e.target.value = e.target.value.replace(/ /g, '?')
93
98
  let data = []
data/_layouts/page.html CHANGED
@@ -53,7 +53,11 @@
53
53
 
54
54
  {%- include share/socialshare.html -%}
55
55
 
56
+ {%- if site.MonumetricID -%}
57
+ {%- include footer/unqFooter.html -%}
58
+ {%- else -%}
56
59
  {%- include footer/index.html -%}
60
+ {%- endif -%}
57
61
 
58
62
  {%- include script.html -%}
59
63
 
data/_layouts/page2.html CHANGED
@@ -49,11 +49,15 @@
49
49
 
50
50
  {%- include share/socialshare.html -%}
51
51
 
52
+ {%- if site.MonumetricID -%}
53
+ {%- include footer/unqFooter.html -%}
54
+ {%- else -%}
52
55
  {%- include footer/index.html -%}
56
+ {%- endif -%}
53
57
 
54
58
  {%- include script.html -%}
55
- <script src="/assets/js/X-letter.js" data-url="{{site.url}}" data-letter="{{page.letter}}"
56
- data-ablank="{{page.ablank}}"></script>
59
+ <script src="/assets/js/X-letter.js" data-url="{{site.url}}" data-range="{{page.blanktilerange}}"
60
+ data-letter="{{page.letter}}" data-ablank="{{page.ablank}}"></script>
57
61
  </body>
58
62
 
59
63
  </html>
@@ -414,7 +414,13 @@
414
414
  </section>
415
415
  <!-- End main body content -->
416
416
 
417
+ {%- if site.MonumetricID -%}
418
+ {%- include footer/unqFooter.html -%}
419
+ {%- else -%}
417
420
  {%- include footer/index.html -%}
421
+ {%- endif -%}
422
+
423
+
418
424
  {%- include script.html -%}
419
425
 
420
426
  </body>
@@ -414,7 +414,11 @@
414
414
  <!-- End main body content -->
415
415
 
416
416
 
417
+ {%- if site.MonumetricID -%}
418
+ {%- include footer/unqFooter.html -%}
419
+ {%- else -%}
417
420
  {%- include footer/index.html -%}
421
+ {%- endif -%}
418
422
  {%- include script.html -%}
419
423
 
420
424
  </body>
data/_layouts/tools.html CHANGED
@@ -58,8 +58,11 @@
58
58
  {% endif %}
59
59
 
60
60
 
61
+ {%- if site.MonumetricID -%}
62
+ {%- include footer/unqFooter.html -%}
63
+ {%- else -%}
61
64
  {%- include footer/index.html -%}
62
-
65
+ {%- endif -%}
63
66
  {%- include script.html -%}
64
67
  </body>
65
68
 
@@ -150,7 +150,11 @@
150
150
 
151
151
 
152
152
  {% include adBlocker/adBlocker.html %}
153
+ {%- if site.MonumetricID -%}
154
+ {%- include footer/unqFooter.html -%}
155
+ {%- else -%}
153
156
  {%- include footer/index.html -%}
157
+ {%- endif -%}
154
158
 
155
159
  {%- include script.html -%}
156
160
  <script src="/assets/js/scrabbleDictonary.js"></script>
@@ -162,8 +162,7 @@ a {
162
162
  right: auto;
163
163
  position: fixed;
164
164
  left: 0px;
165
- bottom: 0px;
166
- top: unset;
165
+ top: 0px;
167
166
  width: 100%;
168
167
  }
169
168
  .filter_count {
data/assets/css/blog.css CHANGED
@@ -128,6 +128,7 @@ header {
128
128
 
129
129
  /* BLOG-Categories stlying */
130
130
  .explore {
131
+ padding:25px;
131
132
  color: #fff;
132
133
  margin-bottom: 100px;
133
134
  margin-top: 60px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  @media (max-width:768px) {
3
3
  .footer-section{
4
- padding:150px 0px;
4
+ padding:100px 0px;
5
5
  }
6
6
  }
Binary file
@@ -33,8 +33,9 @@ txtBox.value = serachValue
33
33
 
34
34
  if (ablank) {
35
35
  if (!serachValue.includes("?")) {
36
- if (serachValue.length < letterLen) {
36
+ if (serachValue.length <= letterLen || serachValue.length >= letterLen) {
37
37
  serachValue = serachValue + '?'
38
+ txtBox.value = serachValue
38
39
  }
39
40
  }
40
41
  }
@@ -58,11 +59,12 @@ txtBox.addEventListener('input', (e) => {
58
59
  let rangeOfBlankTile = script.dataset.range
59
60
  e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, '')
60
61
  if (rangeOfBlankTile === '') {
61
- rangeOfBlankTile = 5
62
+ rangeOfBlankTile = 3
62
63
  }
63
64
  e.target.value = e.target.value.replace(/ /g, '?')
64
65
  let data = []
65
66
  data = e.target.value.split('').filter((i) => i === '?')
67
+ // console.log(data)
66
68
  if (data.length > rangeOfBlankTile) {
67
69
  e.target.value = e.target.value.replace(/\?$/, '')
68
70
  }
@@ -169,7 +171,7 @@ function x_with_letters(data) {
169
171
  filterData.map((item) => {
170
172
  let check = false
171
173
  for (let e = 0; e < exculdeValue.length; e++) {
172
- const element = exculdeValue[e]
174
+ const element = exculdeValue[e].toLowerCase()
173
175
  if (item.includes(element)) {
174
176
  check = true
175
177
  break
@@ -191,7 +193,7 @@ function x_with_letters(data) {
191
193
  filterData.map((item) => {
192
194
  let check = false
193
195
  for (let e = 0; e < includeValue.length; e++) {
194
- const element = includeValue[e]
196
+ const element = includeValue[e].toLowerCase()
195
197
  if (!item.includes(element)) {
196
198
  check = true
197
199
  break
@@ -192,7 +192,7 @@ function getWords(data) {
192
192
  newdata.map((item) => {
193
193
  let check = false
194
194
  for (let e = 0; e < exculdeValue.length; e++) {
195
- const element = exculdeValue[e]
195
+ const element = exculdeValue[e].toLowerCase()
196
196
  if (item.includes(element)) {
197
197
  check = true
198
198
  break
@@ -213,7 +213,7 @@ function getWords(data) {
213
213
  newdata.map((item) => {
214
214
  let check = false
215
215
  for (let e = 0; e < includeValue.length; e++) {
216
- const element = includeValue[e]
216
+ const element = includeValue[e].toLowerCase()
217
217
  if (!item.includes(element)) {
218
218
  check = true
219
219
  break
@@ -245,6 +245,8 @@ function getWords(data) {
245
245
  var text2 = item
246
246
  var text3 = item
247
247
  let chars = text1.split('')
248
+
249
+
248
250
  let indexs = []
249
251
  chars.map((i) => {
250
252
  let findIndexes = findIndex(text3, i)
@@ -252,12 +254,14 @@ function getWords(data) {
252
254
  text3 = text3.split('')
253
255
  text3[findIndexes] = '$'
254
256
  text3 = text3.join('')
257
+
255
258
  indexs = [...indexs, ...findIndexes]
256
259
  }
257
260
  })
258
261
  let itemHtml = ''
259
262
  text2.split('').map((itemValue, index) => {
260
263
  let check = indexs.find((i) => i === index)
264
+
261
265
  if (check !== undefined) {
262
266
  itemHtml += `${itemValue}`
263
267
  } else {
@@ -664,7 +668,7 @@ window.onscroll = function () {
664
668
  document.querySelector('.active-tab').classList.remove('active-tab')
665
669
  var active_now = document.querySelector('#Tab_' + i.split('_')[1])
666
670
  active_now.classList.add('active-tab')
667
- // active_now.scrollIntoView()
671
+ active_now.scrollIntoView({ block: 'nearest' })
668
672
  }
669
673
  }
670
674
  }
@@ -682,6 +686,7 @@ function Filtering(id) {
682
686
  let activeLetter = event.target
683
687
  activeLetter.classList.add('active-tab')
684
688
 
689
+
685
690
  var section = document.querySelectorAll('.wordlistContainer')
686
691
  var sort_val = document.querySelector('.sort-select').value
687
692
  Array.prototype.forEach.call(section, function (e) {
@@ -713,7 +718,6 @@ window.addEventListener('scroll', function () {
713
718
  })
714
719
  function scroll_visible() {
715
720
  let tab_container = document.querySelector('#tab-container')
716
-
717
721
  if (tab_container) {
718
722
  if (tab_container.clientWidth === tab_container.scrollWidth) {
719
723
  prev.style.display = 'none'
@@ -739,8 +743,8 @@ function findIndex(str, char) {
739
743
 
740
744
  while (newStr && newStr.indexOf(char) > -1) {
741
745
  indexes.push(newStr.indexOf(char) + strLength - newStr.length)
742
- newStr = newStr.substring(newStr.indexOf(char) + 1)
743
- newStr = newStr.substring(newStr.indexOf(char) + 1)
746
+ newStr = newStr.substring(newStr.indexOf(char) + 5)
747
+ newStr = newStr.substring(newStr.indexOf(char) + 5)
744
748
  }
745
749
 
746
750
  return indexes
data/assets/js/xyz.js CHANGED
@@ -11,7 +11,6 @@ tabs[0] ? tabs[0].classList.add('active-tab') : ''
11
11
  // handling of filter on scroll
12
12
  window.onscroll = function () {
13
13
  var section = document.querySelectorAll('.allGroupWords')
14
- console.log(section)
15
14
  let new_sections = {}
16
15
  Array.prototype.forEach.call(section, function (e) {
17
16
  if (document.body.clientWidth > 991) {
@@ -32,7 +31,7 @@ window.onscroll = function () {
32
31
  document.querySelector('.active-tab').classList.remove('active-tab')
33
32
  var active_now = document.querySelector('#Tab_' + i.split('_')[1])
34
33
  active_now.classList.add('active-tab')
35
- // active_now.scrollIntoView()
34
+ active_now.scrollIntoView({ block: 'nearest' })
36
35
  }
37
36
  }
38
37
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -123,6 +123,7 @@ files:
123
123
  - _includes/filterWords/index.html
124
124
  - _includes/find-words-in-certain-positions/words-in-certain-positions.html
125
125
  - _includes/footer/index.html
126
+ - _includes/footer/unqFooter.html
126
127
  - _includes/google-analytics.html
127
128
  - _includes/head/index.html
128
129
  - _includes/header/blogHeader.html
@@ -204,6 +205,7 @@ files:
204
205
  - assets/images/hero-media-illustration-light.svg
205
206
  - assets/images/instagram-square.svg
206
207
  - assets/images/keshav.webp
208
+ - assets/images/krutika.jpeg
207
209
  - assets/images/left_obj_01 (1).svg
208
210
  - assets/images/left_obj_01.png
209
211
  - assets/images/left_obj_01.svg