word-games-theme 0.4.0 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/_data/autogenerated_data.json +14 -0
  3. data/_data/content/en/pooja.json +34 -0
  4. data/_data/content/en/python.json +37 -0
  5. data/_data/content/en/react.json +62 -0
  6. data/_data/header/en/data.json +8 -0
  7. data/_data/theme/colors.json +2 -2
  8. data/_data/wordgames/en/unscramble_letters_to_make_words.json +73 -0
  9. data/_data/wordgames/en/unscramble_words_and_jumble_solver.json +85 -0
  10. data/_data/xyzPagesData/en/unscramble-letters-jumble.json +284 -0
  11. data/_data/xyzPagesData/en/words-with-letters-cheat.json +160 -0
  12. data/_includes/autogenerated/content.html +105 -0
  13. data/_includes/section/commonPage.html +14 -5
  14. data/_includes/section/home.html +21 -4
  15. data/_includes/section/home2.html +18 -4
  16. data/_includes/section/recent_posts.html +37 -37
  17. data/_includes/section/related_categories_post.html +96 -14
  18. data/_includes/section/xyzGroup.html +8 -7
  19. data/_includes/xyzpages/xyz.html +24 -13
  20. data/_includes/xyzpages/xyzFooter.html +62 -0
  21. data/_layouts/autogencontent.html +17 -0
  22. data/_layouts/post.html +17 -12
  23. data/_layouts/xyzpages.html +72 -35
  24. data/assets/css/advancedFilter.css +3 -2
  25. data/assets/css/content.css +103 -0
  26. data/assets/css/home.css +17 -0
  27. data/assets/images/board-game.png +0 -0
  28. data/assets/images/star.png +0 -0
  29. data/assets/images/star.svg +68 -7
  30. data/assets/js/X-letter.js +1 -1
  31. data/assets/js/wordScrabble.js +1 -1
  32. data/assets/js/xyz.js +110 -0
  33. metadata +16 -5
  34. data/_includes/section/related_tag_post.html +0 -60
  35. data/assets/images/puzzle.png +0 -0
  36. data/assets/images/vectorpaint.svg +0 -8
@@ -1,39 +1,46 @@
1
1
  <div class="container">
2
-
3
2
  <div class="relatedPosts">
4
3
 
5
- {%- if page.categories or page.tags-%}
6
4
  <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
7
- {%- endif -%}
8
5
 
9
- {% assign maxRelated = 3 %}
6
+ {% assign maxRelated = 6 %}
10
7
  {% assign minCommonTags = 1 %}
11
8
  {% assign maxRelatedCounter = 0 %}
12
9
 
13
10
  <div class="row">
14
11
  {% for post in site.posts %}
15
- {%- include /authors/authors.html -%}
16
12
  {% assign sameTagCount = 0 %}
17
13
  {% assign commonTags = '' %}
18
14
 
15
+
16
+ {%- if page.categories-%}
19
17
  {% for category in post.categories %}
20
18
  {% if post.url != page.url %}
21
19
  {% if page.categories contains category %}
22
20
  {% assign sameTagCount = sameTagCount | plus: 1 %}
23
-
24
-
25
- {% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
26
- {% assign commonTags = commonTags | append: tagmarkup %}
27
21
  {% endif %}
28
22
  {% endif %}
29
23
  {% endfor %}
24
+ {%- endif -%}
25
+
26
+ {%- if page.tags -%}
27
+ {% for tag in post.tags %}
28
+ {% if post.url != page.url %}
29
+ {% if page.tags contains tag %}
30
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
31
+ {% endif %}
32
+ {%- endif -%}
33
+ {% endfor %}
34
+ {%- endif -%}
30
35
 
31
36
 
32
37
  {% if sameTagCount >= minCommonTags %}
38
+ {%- include authors/authors.html-%}
33
39
  <div class="col-lg-4 col-md-6 mb-4 card-group">
34
40
  <div class="card h-100">
35
41
  <a href="{{ post.url }}">
36
- <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%" alt="">
42
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
43
+ alt="">
37
44
  </a>
38
45
  <div class="card-body">
39
46
  <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
@@ -44,7 +51,7 @@
44
51
  <div class="wrapfooter">
45
52
  {% if post.author %}
46
53
  <span class="meta-footer-thumb">
47
- <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
54
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
48
55
  </span>
49
56
  {% endif %}
50
57
 
@@ -55,7 +62,8 @@
55
62
  <span class="post-date">{{post.date | date_to_string }}</span>
56
63
  </span>
57
64
  <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
58
- title="Read Story">Read More</a></span>
65
+ title="Read Story">Read
66
+ More</a></span>
59
67
  </div>
60
68
  </div>
61
69
  </div>
@@ -64,11 +72,85 @@
64
72
  {% if maxRelatedCounter >= maxRelated %}
65
73
  {% break %}
66
74
  {% endif %}
67
- {% endif %}
75
+ {%- else -%}
76
+ {%- endif -%}
68
77
  {% endfor %}
78
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
79
+
80
+
81
+
82
+
83
+ {%- if remamingPosts > 0 -%}
84
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
85
+ {% for post in posts %}
86
+ {%- if remamingPosts > 0 -%}
87
+ {%- assign tagData = true -%}
88
+ {%- assign catData = true -%}
69
89
  {%- if page.tags -%}
70
- {%- include section/related_tag_post.html -%}
90
+ {% for tag in post.tags %}
91
+ {% if post.url != page.url %}
92
+ {% if page.tags contains tag %}
93
+ {%- assign tagData = false -%}
94
+ {%- break -%}
95
+ {% endif %}
96
+ {%- endif -%}
97
+ {% endfor %}
98
+ {%- endif -%}
99
+ {%- if page.categories-%}
100
+ {%- if tagData == false -%}
101
+ {%- continue -%}
102
+ {%- else -%}
103
+ {% for category in post.categories %}
104
+ {% if post.url != page.url %}
105
+ {% if page.categories contains category %}
106
+ {%- assign catData = false -%}
107
+ {%- break -%}
108
+ {% endif %}
109
+ {% endif %}
110
+ {% endfor %}
111
+ {%- endif -%}
112
+ {%- if catData == false -%}
113
+ {%- continue -%}
114
+ {%- endif -%}
115
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
116
+ {%- include authors/authors.html-%}
117
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
118
+ <div class="card h-100">
119
+ <a href="{{ post.url }}">
120
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
121
+ alt="">
122
+ </a>
123
+ <div class="card-body">
124
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
125
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
126
+ </a>
127
+ </div>
128
+ <div class="card-footer bg-white">
129
+ <div class="wrapfooter">
130
+ {% if post.author %}
131
+ <span class="meta-footer-thumb">
132
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
133
+ </span>
134
+ {% endif %}
135
+ <span class="author-meta">
136
+ <span class="post-name">
137
+ <a target="_blank" href="/blog">{{authorName}}</a>
138
+ </span><br>
139
+ <span class="post-date">{{post.date | date_to_string }}</span>
140
+ </span>
141
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
142
+ title="Read Story">Read
143
+ More</a></span>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </div>
71
148
  {%- endif -%}
149
+ {%- endif -%}
150
+
151
+ {% endfor %}
152
+ {%- endif -%}
153
+
72
154
  </div>
73
155
  </div>
74
156
  </div>
@@ -17,19 +17,19 @@
17
17
  </div>
18
18
  <div class="main">
19
19
  {%- for scrabblewords in dataToShow.words-%}
20
- <div class="allGroupWords wordlistContainer" id="alpha_6">
21
- {%- for item in scrabblewords %}
22
- {%- if forloop.index == 1 -%}
20
+ {%- for item in scrabblewords %}
21
+ {%- if forloop.index == 1 -%}
22
+ <div class="allGroupWords wordlistContainer" id="alpha_{{item.i}}">
23
23
  <div class="wordListHeading">
24
24
  <h3 class="lead">{{item.i}} Letter Words</h3>
25
25
  </div>
26
- {%- endif -%}
27
- {%- endfor -%}
26
+
28
27
  <div class="wordList">
29
28
  <ul class="ul list-unstyled">
30
29
  {%- for item in scrabblewords %}
30
+ {%- assign value = item.word -%}
31
31
  <a class="anchor__style" title="Lookup python in Dictionary" target="_blank"
32
- href="/word-meaning?search=phyton">
32
+ href="/word-meaning?search={{item.word}}">
33
33
  <li>{{item.word}}
34
34
  <span class="points" value="14" style="position:relative; top:4px; font-size:12px">
35
35
  {{item.points}}</span>
@@ -39,8 +39,9 @@
39
39
  </ul>
40
40
  </div>
41
41
  </div>
42
+ {%- endif -%}
43
+ {%- endfor -%}
42
44
  {%- endfor -%}
43
-
44
45
  </div>
45
46
  </div>
46
47
  </div>
@@ -23,7 +23,7 @@
23
23
  <input
24
24
  style="border-radius: {{CustomColor.inputFieldBorder}}; background-color: {{CustomColor.inputButtonBg}};"
25
25
  type="submit" class="serachBtn" id="serach" value>
26
- <div class="dictonaryDropdown mt-4">
26
+ <div class="dictonaryDropdown">
27
27
  <select class="form-select select_dropDown2" name="dictonary"
28
28
  aria-label="Default select example">
29
29
  <option selected value="Dictonary">Dictonary</option>
@@ -33,6 +33,28 @@
33
33
  </select>
34
34
  </div>
35
35
 
36
+
37
+ <div class="tab_link_wrapper" style="position: relative;">
38
+ <div id="tab-scroll" class="tab-scroll flex-row">
39
+ <input type="button" name="" id="prev" class="prev tabsBg noOutline cursorPointer" value=" "
40
+ style="display: none;">
41
+ <div id="tab-container" class="search-container tab_container flex-row">
42
+ {%- for scrabblewords in dataToShow.words-%}
43
+ {%- for item in scrabblewords %}
44
+ {%- if forloop.index == 1 -%}
45
+ <input type="button" id="Tab_{{item.i}}" onclick="filterLinks({{item.i}})"
46
+ value="{{item.i}} Letter" class="tab_link cursorPointer">
47
+ {%- endif -%}
48
+ {%- endfor -%}
49
+ {%- endfor -%}
50
+ </div>
51
+ <input type="button" name="" id="next" class="next tabsBg noOutline cursorPointer" value=" "
52
+ style="display: none;">
53
+ </div>
54
+ </div>
55
+
56
+
57
+
36
58
  <div class="wrapper_dropDown mt-2 d-flex justify-content-end" style="gap:10px;">
37
59
  <div class="Advancedbtn" style="position: relative;" onclick="myFunction()">
38
60
  <span class="filter_count" style="display: none;"></span>
@@ -92,15 +114,4 @@
92
114
 
93
115
  <!-- close commonPage as LandingPage -->
94
116
  <link rel="stylesheet" href="{{ '/assets/css/advancedFilter.css' | relative_url }}">
95
-
96
- <script>
97
- const fillterWrapper = document.querySelector('.fillterWrapper')
98
- function myFunction() {
99
- fillterWrapper.classList.toggle('hide')
100
- }
101
- const close = document.querySelector('.times')
102
- close.addEventListener('click', () => {
103
- fillterWrapper.classList.add('hide')
104
- })
105
-
106
- </script>
117
+ <script src="../../assets/js/xyz.js"></script>
@@ -0,0 +1,62 @@
1
+ <style>
2
+ .inner-dropdown {
3
+ display: flex;
4
+ justify-content: space-evenly;
5
+ }
6
+
7
+ .inner-dropdown li {
8
+ list-style: none;
9
+ padding: 5px 0;
10
+ text-align: left;
11
+ }
12
+
13
+ .anchor_links {
14
+ text-decoration: none;
15
+ color: white;
16
+ }
17
+
18
+ .anchor_links:hover {
19
+ text-decoration: underline !important;
20
+ color: white;
21
+ }
22
+
23
+ @media(max-width:768px) {
24
+ .inner-dropdown {
25
+ flex-direction: column;
26
+ }
27
+ }
28
+ </style>
29
+ <div class="main_row row py-5 mx-0 mt-5">
30
+ <div class="col-md-11 mx-auto">
31
+ {%- if dataToShow.megaMenu -%}
32
+ <ul>
33
+ <div class="inner-dropdown">
34
+ {%- for item in dataToShow.megaMenu.dropdown -%}
35
+ <div class="catPad mb-4">
36
+ <li class="text-muted">{{item.categoryName}}</li>
37
+ <div> {%- for item in item.links -%}
38
+ <li>
39
+ <a class="anchor_links" href="{{item.url}}">
40
+ {{item.name}}</a>
41
+ </li>
42
+ {%- endfor -%}
43
+ </div>
44
+ </div>
45
+ {%- endfor -%}
46
+ </div>
47
+ </ul>
48
+ {%- endif -%}
49
+ </div>
50
+ </div>
51
+
52
+ <div class="row m-0 py-3" style="background-color: #000;">
53
+ <div class="col-12">
54
+ <div class="d-flex justify-content-between px-md-5 px-0 footer__flexbox">
55
+ <p class="m-0 text-white">{{site.copyright_text}}</p>
56
+ <p class="m-0"><a class="footer__link" href="/privacy-policy">Privacy Policy</a>
57
+ <a class="footer__link" href="/terms-and-conditions">| Terms of Use</a>
58
+ </p>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
@@ -0,0 +1,17 @@
1
+ <html>
2
+ {%- include head/index.html -%}
3
+
4
+ <body>
5
+ {%- include header/index.html -%}
6
+
7
+
8
+ {{content}}
9
+
10
+
11
+ {% include footer/index.html %}
12
+
13
+ <script src=" https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
14
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"></script>
15
+ </body>
16
+
17
+ </html>
data/_layouts/post.html CHANGED
@@ -87,18 +87,23 @@
87
87
  {% else %}
88
88
  <h3 class="font-weight-bolder">Checkout out these features</h3>
89
89
  <br>
90
- {%- for item in site.pages limit: 10 -%}
91
- {%- if item.tool != "wordfinders" and item.tool != 'wordswithletter' and item.tool != '
92
- word-scramble-help' and item.tool != 'wordfinders' and item.tool != "wordscramblers" and
93
- item.tool
94
- != 'wordunscramblerss' -%}
95
90
 
96
- <p class="mb-3"> <a class="featureLink" style="font-size: 13px"
97
- href="/{{item.permalink }}">{{item.permalink
98
- |
99
- capitalize |
100
- replace: '-', ' '
101
- }}</a></p>
91
+ {% assign tools = site.pages | where_exp:"item","item.tool" %}
92
+ {% assign allRandomUrls = "" | split: ',' %}
93
+ {%- for item in tools -%}
94
+ {%- if item.lang=="en" -%}
95
+ {% assign allRandomUrls = allRandomUrls | push: item.url %}
96
+ {%- endif -%}
97
+ {%- endfor -%}
98
+
99
+ {%- for url in allRandomUrls limit: 10-%}
100
+ {% if url %}
101
+ <p class="mb-3">
102
+ <a class="featureLink" style="font-size: 13px" href="{{url }}">
103
+ {%- assign name = url | replace: '/', ' ' | replace: '-', ' ' -%}
104
+ {{ name }}
105
+ </a>
106
+ </p>
102
107
  {%- endif -%}
103
108
  {%- endfor -%}
104
109
  {%- endif -%}
@@ -107,7 +112,7 @@
107
112
  </div>
108
113
  </div>
109
114
  <div class="col-md-12">
110
- {%- if page.categories or page.tags-%}
115
+ {%- if page.categories.size> 0 or page.tags.size>0-%}
111
116
  {%- include section/related_categories_post.html -%}
112
117
  {%- else -%}
113
118
  {%- include section/recent_posts.html -%}
@@ -1,48 +1,85 @@
1
1
  <html>
2
2
  {%- include head/index.html -%}
3
-
4
3
  <style>
5
- .footer-container {
6
- margin-top: 200px !important;
7
- }
8
-
9
- @media(max-width:768px) {
10
-
11
- /* social icons style */
12
- .social-icons {
13
- position: relative !important;
14
- width: 100% !important;
15
- height: 0px;
16
- display: flex;
17
- top: 0;
18
- font-size: 15px;
19
- color: #fff;
20
- flex-direction: row;
21
- z-index: 0;
22
- border-top-left-radius: 8px;
23
- border-bottom-left-radius: 8px;
24
- background: transparent !important;
25
- box-shadow: none !important;
26
- line-height: 30px;
4
+ .main_row {
5
+ background-color: #262626;
6
+ color: var(--txtColor1);
7
+ font-size: 12px;
8
+ }
9
+
10
+ .footer__link {
11
+ color: var(--txtColor1) !important;
12
+ }
13
+
14
+ .footer__link:hover {
15
+ text-decoration: underline !important;
16
+ transition: all 0.5s linear;
17
+ }
18
+
19
+ .footer_subheading {
20
+ color: rgb(160, 160, 160);
21
+ }
22
+
23
+ .input_div {
24
+ background: #fff;
25
+ border: 1px solid rgba(0, 0, 0, 0.26);
26
+ padding: 4px 4px;
27
+ border-radius: 4px;
28
+ }
29
+
30
+ .input_div>.input__design {
31
+ border: none;
32
+ font-size: 0.7rem;
33
+ padding-left: 5px;
34
+ outline: none;
35
+ }
36
+
37
+ .my_btn {
38
+ border-radius: 5px;
39
+ padding: 4px 20px !important;
40
+ border: none;
41
+ color: #fff;
42
+ background: linear-gradient(90deg,
43
+ rgba(224, 23, 42, 0.9490196078431372),
44
+ var(--primary-color) 99%);
45
+ }
46
+
47
+ .s_link {
48
+ margin: 0 20px;
49
+ font-size: 1.3rem;
50
+ cursor: pointer;
51
+ background: linear-gradient(90deg,
52
+ rgba(224, 23, 42, 0.9490196078431372),
53
+ var(--primary-color));
54
+ background-clip: unset;
55
+ -webkit-background-clip: text;
56
+ -webkit-text-fill-color: transparent;
57
+ }
58
+
59
+ @media (max-width: 768px) {
60
+ .footer__flexbox {
61
+ flex-direction: column;
62
+ text-align: center;
63
+ }
64
+
65
+ .main_row {
66
+ text-align: center;
27
67
  }
28
68
 
29
- .social-icons a {
30
- padding: 50px;
31
- color: #000 !important;
32
- font-size: 2rem !important;
69
+ .input_div {
70
+ text-align: left;
33
71
  }
34
72
 
35
- .social-icon {
36
- margin: 0 !important;
37
- color: gray;
73
+ .my_btn {
74
+ width: 100%;
38
75
  }
39
76
 
40
- .social-icon:hover {
41
- color: black;
77
+ .usefull_links {
78
+ flex-direction: column;
42
79
  }
43
80
 
44
- .social-icons a {
45
- padding: 10px;
81
+ .decimal_links {
82
+ padding: 0 !important;
46
83
  }
47
84
  }
48
85
  </style>
@@ -54,7 +91,7 @@
54
91
 
55
92
  {%- include share/socialshare.html -%}
56
93
 
57
- {%- include footer/index.html -%}
94
+ {% include xyzpages/xyzFooter.html %}
58
95
 
59
96
  <script src=" https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
60
97
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"></script>