word-games-theme 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/_data/blog/nav.json +1 -1
  3. data/_data/header/en/data.json +10 -2
  4. data/_data/wordgames/en/anagram_word_finder.json +2 -0
  5. data/_data/wordgames/en/feature_certain_positions.json +54 -0
  6. data/_data/wordgames/en/find-words-that-start-with-the-letters.json +54 -0
  7. data/_data/wordgames/en/root.json +10 -2
  8. data/_data/wordleSolver/en/data.json +6 -0
  9. data/_includes/Monumetric/Monumetric.html +48 -0
  10. data/_includes/autogenerated/content.html +1 -4
  11. data/_includes/cssfile/links.html +12 -0
  12. data/_includes/custom-head.html +0 -29
  13. data/_includes/find-words-in-certain-positions/words-in-certain-positions.html +167 -0
  14. data/_includes/head/index.html +3 -29
  15. data/_includes/header/blogHeader.html +1 -2
  16. data/_includes/header/index.html +1 -1
  17. data/_includes/script.html +16 -12
  18. data/_includes/section/commonPage.html +105 -101
  19. data/_includes/section/feature.html +1 -1
  20. data/_includes/section/home2.html +1 -1
  21. data/_includes/section/news.html +8 -7
  22. data/_includes/section/related_categories_post.html +155 -150
  23. data/_includes/section/wordGroup.html +2 -12
  24. data/_includes/wordle-solver/wordle-solver.html +2 -3
  25. data/_layouts/allpages.html +1 -6
  26. data/_layouts/autogencontent.html +2 -5
  27. data/_layouts/blog.html +1 -2
  28. data/_layouts/default.html +18 -21
  29. data/_layouts/disclaimer.html +5 -2
  30. data/_layouts/page.html +7 -17
  31. data/_layouts/page2.html +3 -18
  32. data/_layouts/post.html +26 -23
  33. data/_layouts/privacyPolicy.html +2 -1
  34. data/_layouts/termAndCondition.html +1 -0
  35. data/_layouts/{wordleSolver.html → tools.html} +18 -11
  36. data/_layouts/wordMeaning.html +21 -35
  37. data/_layouts/xyzpages.html +1 -6
  38. data/assets/css/advancedFilter.css +8 -0
  39. data/assets/css/content.css +3 -3
  40. data/assets/css/home.css +58 -41
  41. data/assets/css/news.css +2 -2
  42. data/assets/css/style.css +26 -7
  43. data/assets/css/wordGroup.css +6 -3
  44. data/assets/css/wordleSolver.css +8 -14
  45. data/assets/css/wordsInCertainPosition.css +139 -0
  46. data/assets/images/wordswithletters-logo.png +0 -0
  47. data/assets/js/X-letter.js +15 -2
  48. data/assets/js/wordScrabble.js +4 -1
  49. data/assets/js/wordleSolver.js +25 -18
  50. data/assets/js/words-in-certain-positions.js +200 -0
  51. data/assets/js/words-starting-with.js +564 -0
  52. metadata +11 -3
@@ -6,114 +6,118 @@
6
6
  <!-- start commonPage as LandingPage -->
7
7
 
8
8
  <!-- header starts -->
9
- <header class="container" id="resultHeader">
10
- <!-- navigation startss -->
11
- <nav class="navbar-section navbar-expand-lg navbar-dark" style="background-color: #fff;">
12
- <a href="/" title="{{dataToShow.tooltip}}" style="position: absolute; top:6px">
13
- <img src="{{ site.favicon | relative_url }}" alt="{{site.name}}" style="width:35px; height:35px;">
14
- </a>
15
- <div class="container" id="containerWd">
16
- <section class="result_sticky_nav">
17
- <div class="pageHeading text-center">
18
- <h1 class="heading m-0 pb-0">
19
- {{dataToShow.h1}}</h1>
20
- </div>
21
- <div class="serachSection2">
22
- <div class="position-relative serachBox">
23
- <form action="" id='form'>
24
- <input style="border-radius: {{CustomColor.inputFieldBorder}}" type="text"
25
- placeholder="Enter up to 15 letters?" class="txtBox resultPageTxtBox" value=''
26
- name="search" maxlength="15" value required autocomplete="off">
27
- <input
28
- style="border-radius: {{CustomColor.inputFieldBorder}}; background-color: {{CustomColor.inputButtonBg}};"
29
- type="submit" class="serachBtn resultPageSearchBtn" id="serach" value>
30
- <div class="dictonaryDropdown">
31
- <select class="form-select select_dropDown2 resultPageDropdown2" name="dictionary"
32
- aria-label="Default select example">
33
- <option selected value="Dictionary">Dictionary</option>
34
- <option value="twl06" id="twl06">TWL06 (US, Canada, Thailand)</option>
35
- <option value="sowpods" id="sowpods">SOWPODS (Uk and Others)</option>
36
- <option value="wwf" id="wwf">Enable (Words With Friends)</option>
37
- </select>
9
+ <!-- <header class="container" id="resultHeader"> -->
10
+ <!-- navigation startss -->
11
+ <nav class="result_navbar_section navbar-expand-lg navbar-dark" style="background-color: #fff;">
12
+ <a href="/" title="{{dataToShow.tooltip}}" style="position: absolute; top:6px">
13
+ <img src="{{ site.favicon | relative_url }}" alt="{{site.name}}" style="width:35px; height:35px;">
14
+ </a>
15
+ <div class="container" id="containerWd">
16
+ <section class="result_sticky_nav">
17
+ <div class="pageHeading text-center">
18
+ <h1 class="result_heading m-0 pb-0">
19
+ {{dataToShow.h1}}</h1>
20
+ </div>
21
+ <div class="serachSection2">
22
+ <div class="position-relative serachBox">
23
+ <form action="" id='form'>
24
+ <input style="border-radius: {{CustomColor.inputFieldBorder}}" type="text"
25
+ placeholder="Enter up to 15 letters?" class="txtBox resultPageTxtBox" value='' name="search"
26
+ maxlength="15" value required autocomplete="off">
27
+ <input
28
+ style="border-radius: {{CustomColor.inputFieldBorder}}; background-color: {{CustomColor.inputButtonBg}};"
29
+ type="submit" class="serachBtn resultPageSearchBtn" id="serach" value>
30
+ <div class="dictonaryDropdown">
31
+ <select class="form-select select_dropDown2 resultPageDropdown2" name="dictionary"
32
+ aria-label="Default select example">
33
+ <option selected value="Dictionary">Dictionary</option>
34
+ <option value="twl06" id="twl06">TWL06 (US, Canada, Thailand)</option>
35
+ <option value="sowpods" id="sowpods">SOWPODS (Uk and Others)</option>
36
+ <option value="wwf" id="wwf">Enable (Words With Friends)</option>
37
+ </select>
38
+ </div>
39
+ {%- include filterWords/index.html -%}
40
+ <div class="wrapper_dropDown mt-3 d-flex justify-content-end" style="gap:10px;">
41
+ <div class="Advancedbtn" style="position: relative;" onclick="myFunction()">
42
+ <span class="filter_count" style="display: none;"></span>
43
+ <input type="button" value="Advanced Filter" class="filterButton">
44
+ <div class="angle-arrow"></div>
38
45
  </div>
39
- {%- include filterWords/index.html -%}
40
- <div class="wrapper_dropDown mt-3 d-flex justify-content-end" style="gap:10px;">
41
- <div class="Advancedbtn" style="position: relative;" onclick="myFunction()">
42
- <span class="filter_count" style="display: none;"></span>
43
- <input type="button" value="Advanced Filter" class="filterButton">
44
- <div class="angle-arrow"></div>
45
- </div>
46
- <div id="sort-select">
47
- <select class="form-select sort-select" id="select_dropDown">
48
- <option selected="true" hidden id="alpha" value="alpha">Sort by</option>
49
- <option id="alpha" value="alpha">A-Z</option>
50
- <option id="alpha" value="alpha">Z-A</option>
51
- <option id="alpha" value="alpha">Points</option>
52
- </select>
53
- </div>
46
+ <div id="sort-select">
47
+ <select class="form-select sort-select" id="select_dropDown">
48
+ <option selected="true" hidden id="alpha" value="alpha">Sort by</option>
49
+ <option id="alpha" value="alpha">A-Z</option>
50
+ <option id="alpha" value="alpha">Z-A</option>
51
+ <option id="alpha" value="alpha">Points</option>
52
+ </select>
54
53
  </div>
55
- <div class="fillterWrapper hide">
56
- <div class="text-right times" style="cursor: pointer; margin-top:-15px;">
57
- <img src="../../assets/images/window-close.png" alt="" width="15px">
54
+ </div>
55
+ <div class="fillterWrapper hide">
56
+ <div class="text-right times" style="cursor: pointer; margin-top:-15px;">
57
+ <img src="../../assets/images/window-close.png" alt="" width="15px">
58
58
 
59
- </div>
60
- <div class="startsWith same">
61
- <label data-toggle="tooltip" data-placement="top"
62
- title="Filter for words that starts with these letters" for="startsWith">Starts
63
- With</label>
64
- <input type="text" class="filter_val" id="startsWith" placeholder="Prefix" value=""
65
- name="prefix">
66
- </div>
67
- <div class="mustInclude same">
68
- <label for="mustInclude" data-toggle="tooltip" data-placement="top"
69
- title=" Words that contain letters in this order(ab)">Must Contains </label>
70
- <input type="text" class="filter_val" id="mustInclude" placeholder="Contains"
71
- name="contains" value="">
72
- </div>
73
- <div class="endsWith same">
74
- <label for="endsWith" data-toggle="tooltip" data-placement="top"
75
- title="Filter for words that ends with these letters">End With</label>
76
- <input type="text" class="filter_val" id="endsWith" placeholder="Suffix"
77
- name="suffix" value="">
78
- </div>
79
- <div class="exculdeWith same">
80
- <label data-toggle="tooltip" data-placement="top"
81
- title="Only words that not contain the letters you enter here"
82
- for="exculdeWith">Exculde</label>
83
- <br>
84
- <input type="text" class="filter_val" id="exculdeWith" placeholder="Exculde"
85
- value="" name="exculde">
86
- </div>
87
- <div class="inculdeWith same">
88
- <label data-toggle="tooltip" data-placement="top"
89
- title="Only words that contain the letters you enter here"
90
- for="inculdeWith">Include</label>
91
- <br>
92
- <input type="text" class="filter_val" id="inculdeWith" placeholder="Include"
93
- value="" name="include">
94
- </div>
95
- <div class="wordLength same">
96
- <label data-toggle="tooltip" data-placement="top"
97
- title="Filter for words with this length" for="wordLength">Word Length </label>
98
- <input type="text" class="filter_val" id="wordLength" placeholder="Length"
99
- name="length" value="">
100
- </div>
59
+ </div>
60
+ <div class="startsWith same">
61
+ <label data-toggle="tooltip" data-placement="top"
62
+ title="Filter for words that starts with these letters" for="startsWith">Starts
63
+ With</label>
64
+ <input type="text" class="filter_val" id="startsWith" placeholder="Prefix" value=""
65
+ name="prefix">
66
+ </div>
67
+ <div class="mustInclude same">
68
+ <label for="mustInclude" data-toggle="tooltip" data-placement="top"
69
+ title=" Words that contain letters in this order(ab)">Must Contains </label>
70
+ <input type="text" class="filter_val" id="mustInclude" placeholder="Contains"
71
+ name="contains" value="">
72
+ </div>
73
+ <div class="endsWith same">
74
+ <label for="endsWith" data-toggle="tooltip" data-placement="top"
75
+ title="Filter for words that ends with these letters">End With</label>
76
+ <input type="text" class="filter_val" id="endsWith" placeholder="Suffix" name="suffix"
77
+ value="">
78
+ </div>
79
+ <div class="exculdeWith same">
80
+ <label data-toggle="tooltip" data-placement="top"
81
+ title="Only words that not contain the letters you enter here"
82
+ for="exculdeWith">Exculde</label>
83
+ <br>
84
+ <input type="text" class="filter_val" id="exculdeWith" placeholder="Exculde" value=""
85
+ name="exculde">
86
+ </div>
87
+ <div class="inculdeWith same">
88
+ <label data-toggle="tooltip" data-placement="top"
89
+ title="Only words that contain the letters you enter here"
90
+ for="inculdeWith">Include</label>
91
+ <br>
92
+ <input type="text" class="filter_val" id="inculdeWith" placeholder="Include" value=""
93
+ name="include">
94
+ </div>
95
+ <div class="wordLength same">
96
+ <label data-toggle="tooltip" data-placement="top"
97
+ title="Filter for words with this length" for="wordLength">Word Length </label>
98
+ <input type="text" class="filter_val" id="wordLength" placeholder="Length" name="length"
99
+ value="">
100
+ </div>
101
101
 
102
- <div style="margin-top: 1.2rem; gap:5px" class="d-flex w-100">
103
- <input type="button" value="Clear" class="clearFilter btn-info text-white"
104
- style="background-color:#808080;">
105
- <input type="submit" value="Apply" class="btn-info text-white"
106
- style="background: #808080">
107
- </div>
102
+ <div style="margin-top: 1.2rem; gap:5px" class="d-flex w-100">
103
+ <input type="button" value="Clear" class="clearFilter btn-info text-white"
104
+ style="background-color:#808080;">
105
+ <input type="submit" value="Apply" class="btn-info text-white"
106
+ style="background: #808080">
108
107
  </div>
109
- </form>
110
- </div>
108
+ </div>
109
+ </form>
111
110
  </div>
112
- </section>
113
- </div>
114
- </nav>
115
- </header>
111
+ </div>
112
+ </section>
113
+ </div>
114
+ </nav>
115
+ <!-- </header> -->
116
116
  <div class="container" id="containerWd">
117
+ {%- if site.name == 'wordswithletters' and page.layout == "page2" -%}
118
+ <a id="home_page_search_result" onclick="ga('send', 'event', 'Link click', 'click', 'Home Page Search Result')"></a>
119
+ {%- endif -%}
120
+
117
121
  {% include section/wordGroup.html %}
118
122
  </div>
119
123
  <!-- navbar close -->
@@ -20,7 +20,7 @@
20
20
  <!--class earlier= col-xl-9 col-lg-12-->
21
21
  <div class="row text-center features_data">
22
22
  {% for entry in dataToShow.featureList %}
23
- <div class="col-lg-4 col-md-6 my-3">
23
+ <div class="col-lg-6 col-md-6 my-3">
24
24
  <div class="card-body h-100">
25
25
  <img src="{{ entry.fa_class }}" width="25px"></img>
26
26
  <h5 class="card-title">
@@ -93,7 +93,7 @@
93
93
  </form>
94
94
  {%- if page.wordle == 'solver' -%}
95
95
  <h2 class="m-0 mt-4 text-center" style="font-size:16px">
96
- <a style="color:#000" href="/wordle-solver">Solve wordle quickly using our wordle solver</a>
96
+ <a href="/wordle-solver">Solve wordle quickly using our wordle solver</a>
97
97
  </h2>
98
98
  {%- endif -%}
99
99
  </div>
@@ -7,20 +7,21 @@
7
7
  <!--<div class="col-xl-3 col-lg-12">
8
8
  <div class="row">
9
9
  <div class="col-xl-3 p-0">-->
10
- <div class="news">
11
- <!-- <img src="/assets/images/left_obj_02.png" alt="">
10
+ <div class="news">
11
+ <!-- <img src="/assets/images/left_obj_02.png" alt="">
12
12
  <span class="site-no">03</span> -->
13
- <h5 class="title">{{dataToShow.Faq_title}}</h5>
14
- </div>
15
- <!-- </div>
13
+ <h5 class="title">{{dataToShow.Faq_title}}</h5>
14
+ </div>
15
+ <!-- </div>
16
16
  </div>
17
17
  </div> -->
18
18
 
19
19
 
20
- <div class="container"> <!--class earlier=col-xl-9 col-lg-12 -->
20
+ <div class="container">
21
+ <!--class earlier=col-xl-9 col-lg-12 -->
21
22
  <div class="row my-xl-0">
22
23
  {% for entry in dataToShow.faqList %}
23
- <div class="col-md-6 pt-5">
24
+ <div class="col-md-8 mx-auto pt-5">
24
25
  <p class="meduim-text2 mb-0">{{entry.Question}}</p>
25
26
  <p class="meduim-text mb-0">{{entry.Answer}}</p>
26
27
  </div>
@@ -1,165 +1,170 @@
1
- {% assign file = page.fileName %}
2
- {% assign lang = page.lang %}
3
- {% assign dataToShow = site.data.[page.folderName][lang][file] %}
4
-
5
-
6
-
7
-
8
- <div class="container">
9
- <div class="relatedPosts">
10
-
11
- <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
12
-
13
- {% assign maxRelated = 6 %}
14
- {% assign minCommonTags = 1 %}
15
- {% assign maxRelatedCounter = 0 %}
16
-
17
- <div class="row">
18
-
19
- {% for post in site.posts %}
20
- {% assign sameTagCount = 0 %}
21
- {% assign commonTags = '' %}
22
-
23
-
24
-
25
- {%- if page.categories or dataToShow.categories-%}
26
- {% for category in post.categories %}
27
- {% if post.url != page.url %}
28
- {% if page.categories or dataToShow.categories contains category %}
29
- {% assign sameTagCount = sameTagCount | plus: 1 %}
30
- {% endif %}
31
- {% endif %}
32
- {% endfor %}
33
- {%- endif -%}
34
-
35
- {%- if page.tags -%}
36
- {% for tag in post.tags %}
37
- {% if post.url != page.url %}
38
- {% if page.tags contains tag %}
39
- {% assign sameTagCount = sameTagCount | plus: 1 %}
40
- {% endif %}
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+ <div class="relatedPosts">
4
+ <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
5
+ {% assign maxRelated = 6 %}
6
+ {% assign minCommonTags = 1 %}
7
+ {% assign maxRelatedCounter = 0 %}
8
+ {% assign file = page.fileName %}
9
+ {% assign lang = "en" %}
10
+ {% assign folder = page.folderName %}
11
+ {%- if site.data[folder][lang][file].categories -%}
12
+ {% assign categories= site.data[folder][lang][file].categories %}
13
+ {%- else -%}
14
+ {% assign categories= page.categories %}
41
15
  {%- endif -%}
42
- {% endfor %}
16
+ {%- if site.data[folder][lang][file].tags -%}
17
+ {% assign tags= site.data[folder][lang][file].tags %}
18
+ {%- else -%}
19
+ {% assign tags= page.tags %}
43
20
  {%- endif -%}
44
21
 
45
-
46
- {% if sameTagCount >= minCommonTags %}
47
- {%- include authors/authors.html-%}
48
- <div class="col-lg-4 col-md-6 mb-4 card-group">
49
- <div class="card h-100">
50
- <a href="{{ post.url }}">
51
- <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
52
- alt="">
53
- </a>
54
- <div class="card-body">
55
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
56
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
22
+ <div class="row">
23
+ {% for post in site.posts %}
24
+ {% assign sameTagCount = 0 %}
25
+ {% assign commonTags = '' %}
26
+
27
+ {%- if categories -%}
28
+ {% for category in post.categories %}
29
+ {% if post.url != page.url %}
30
+ {% if categories contains category %}
31
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
32
+ {% endif %}
33
+ {% endif %}
34
+ {% endfor %}
35
+ {%- endif -%}
36
+
37
+ {%- if tags -%}
38
+ {% for tag in post.tags %}
39
+ {% if post.url != page.url %}
40
+ {% if tags contains tag %}
41
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
42
+ {% endif %}
43
+ {%- endif -%}
44
+ {% endfor %}
45
+ {%- endif -%}
46
+
47
+
48
+ {% if sameTagCount >= minCommonTags %}
49
+ {%- include authors/authors.html-%}
50
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
51
+ <div class="card h-100">
52
+ <a href="{{ post.url }}">
53
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
54
+ alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
57
55
  </a>
58
- </div>
59
- <div class="card-footer bg-white">
60
- <div class="wrapfooter">
61
- {% if post.author %}
62
- <span class="meta-footer-thumb">
63
- <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
64
- </span>
65
- {% endif %}
66
-
67
- <span class="author-meta">
68
- <span class="post-name">
69
- <a target="_blank" href="/blog">{{authorName}}</a>
70
- </span><br>
71
- <span class="post-date">{{post.date | date_to_string }}</span>
72
- </span>
73
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
74
- title="Read Story">Read
75
- More</a></span>
56
+ <div class="card-body">
57
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
58
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
59
+ </a>
60
+ </div>
61
+ <div class="card-footer bg-white">
62
+ <div class="wrapfooter">
63
+ {% if post.author %}
64
+ <span class="meta-footer-thumb">
65
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}"
66
+ {%- if site.crossorigin -%} crossorigin {%- endif -%}>
67
+ </span>
68
+ {% endif %}
69
+
70
+ <span class="author-meta">
71
+ <span class="post-name">
72
+ <a target="_blank" href="/blog">{{authorName}}</a>
73
+ </span><br>
74
+ <span class="post-date">{{post.date | date_to_string }}</span>
75
+ </span>
76
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
77
+ title="Read Story">Read
78
+ More</a></span>
79
+ </div>
76
80
  </div>
77
81
  </div>
78
82
  </div>
79
- </div>
80
- {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
81
- {% if maxRelatedCounter >= maxRelated %}
82
- {% break %}
83
- {% endif %}
84
- {%- else -%}
85
- {%- endif -%}
86
- {% endfor %}
87
- {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
88
-
89
-
90
-
91
-
92
- {%- if remamingPosts > 0 -%}
93
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
94
- {% for post in posts %}
95
- {%- if remamingPosts > 0 -%}
96
- {%- assign tagData = true -%}
97
- {%- assign catData = true -%}
98
- {%- if page.tags -%}
99
- {% for tag in post.tags %}
100
- {% if post.url != page.url %}
101
- {% if page.tags contains tag %}
102
- {%- assign tagData = false -%}
103
- {%- break -%}
104
- {% endif %}
105
- {%- endif -%}
106
- {% endfor %}
107
- {%- endif -%}
108
- {%- if page.categories or dataToShow.categories-%}
109
- {%- if tagData == false -%}
110
- {%- continue -%}
111
- {%- else -%}
112
- {% for category in post.categories %}
113
- {% if post.url != page.url %}
114
- {% if page.categories or dataToShow.categories contains category %}
115
- {%- assign catData = false -%}
116
- {%- break -%}
117
- {% endif %}
118
- {% endif %}
119
- {% endfor %}
120
- {%- endif -%}
121
- {%- if catData == false -%}
122
- {%- continue -%}
123
- {%- endif -%}
124
- {%- assign remamingPosts = remamingPosts | minus: 1 -%}
125
- {%- include authors/authors.html-%}
126
- <div class="col-lg-4 col-md-6 mb-4 card-group">
127
- <div class="card h-100">
128
- <a href="{{ post.url }}">
129
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
130
- alt="">
131
- </a>
132
- <div class="card-body">
133
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
134
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
83
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
84
+ {% if maxRelatedCounter >= maxRelated %}
85
+ {% break %}
86
+ {% endif %}
87
+ {%- else -%}
88
+ {%- endif -%}
89
+ {% endfor %}
90
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
91
+
92
+
93
+
94
+
95
+ {%- if remamingPosts > 0 -%}
96
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
97
+ {% for post in posts %}
98
+ {%- if remamingPosts > 0 -%}
99
+ {%- assign tagData = true -%}
100
+ {%- assign catData = true -%}
101
+ {%- if tags -%}
102
+ {% for tag in post.tags %}
103
+ {% if post.url != page.url %}
104
+ {% if tags contains tag %}
105
+ {%- assign tagData = false -%}
106
+ {%- break -%}
107
+ {% endif %}
108
+ {%- endif -%}
109
+ {% endfor %}
110
+ {%- endif -%}
111
+ {%- if categories -%}
112
+ {%- if tagData == false -%}
113
+ {%- continue -%}
114
+ {%- else -%}
115
+ {% for category in post.categories %}
116
+ {% if post.url != page.url %}
117
+ {% if categories contains category %}
118
+ {%- assign catData = false -%}
119
+ {%- break -%}
120
+ {% endif %}
121
+ {% endif %}
122
+ {% endfor %}
123
+ {%- endif -%}
124
+ {%- if catData == false -%}
125
+ {%- continue -%}
126
+ {%- endif -%}
127
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
128
+ {%- include authors/authors.html-%}
129
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
130
+ <div class="card h-100">
131
+ <a href="{{ post.url }}">
132
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
133
+ alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
135
134
  </a>
136
- </div>
137
- <div class="card-footer bg-white">
138
- <div class="wrapfooter">
139
- {% if post.author %}
140
- <span class="meta-footer-thumb">
141
- <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
142
- </span>
143
- {% endif %}
144
- <span class="author-meta">
145
- <span class="post-name">
146
- <a target="_blank" href="/blog">{{authorName}}</a>
147
- </span><br>
148
- <span class="post-date">{{post.date | date_to_string }}</span>
149
- </span>
150
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
151
- title="Read Story">Read
152
- More</a></span>
135
+ <div class="card-body">
136
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
137
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
138
+ </a>
139
+ </div>
140
+ <div class="card-footer bg-white">
141
+ <div class="wrapfooter">
142
+ {% if post.author %}
143
+ <span class="meta-footer-thumb">
144
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
145
+ if site.crossorigin -%} crossorigin {%- endif -%}>
146
+ </span>
147
+ {% endif %}
148
+ <span class="author-meta">
149
+ <span class="post-name">
150
+ <a target="_blank" href="/blog">{{authorName}}</a>
151
+ </span><br>
152
+ <span class="post-date">{{post.date | date_to_string }}</span>
153
+ </span>
154
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
155
+ title="Read Story">Read
156
+ More</a></span>
157
+ </div>
153
158
  </div>
154
159
  </div>
155
160
  </div>
156
- </div>
157
- {%- endif -%}
158
- {%- endif -%}
161
+ {%- endif -%}
162
+ {%- endif -%}
159
163
 
160
- {% endfor %}
161
- {%- endif -%}
164
+ {% endfor %}
165
+ {%- endif -%}
162
166
 
167
+ </div>
163
168
  </div>
164
169
  </div>
165
- </div>
170
+ </section>