word-games-theme 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +2 -2
- data/_data/blog/alertbar.yml +3 -3
- data/_data/blog/blog.yml +2 -2
- data/_data/blog/nav.json +13 -13
- data/_data/blog/share.yml +26 -27
- data/_data/footer/en/data.json +74 -74
- data/_data/footer/hi/data.json +68 -68
- data/_data/footer/networksites.json +15 -15
- data/_data/header/en/data.json +68 -71
- data/_data/wordgames/en/anagram_word_finder.json +48 -48
- data/_data/wordgames/en/eight_letter_word_finder.json +223 -223
- data/_data/wordgames/en/eleven_letter_word_finder.json +184 -184
- data/_data/wordgames/en/five_letter_word_finder.json +188 -188
- data/_data/wordgames/en/four_letter_word_finder.json +176 -176
- data/_data/wordgames/en/jumble_word_finder.json +54 -62
- data/_data/wordgames/en/lexical_word_finder.json +60 -60
- data/_data/wordgames/en/nine_letter_word_finder.json +184 -184
- data/_data/wordgames/en/root.json +79 -79
- data/_data/wordgames/en/scrabble_word_finder_cheat.json +48 -48
- data/_data/wordgames/en/seven_letter_word_finder.json +184 -184
- data/_data/wordgames/en/six_letter_word_finder.json +175 -175
- data/_data/wordgames/en/ten_letter_word_finder.json +184 -184
- data/_data/wordgames/en/thirteen_letter_word_finder.json +184 -184
- data/_data/wordgames/en/three_letter_word_finder.json +188 -188
- data/_data/wordgames/en/twelve_letter_word_finder.json +184 -184
- data/_data/wordgames/en/two_letter_word_finder.json +188 -188
- data/_data/wordgames/en/words_with_friends_word_finder.json +55 -55
- data/_includes/Rating/rating.html +91 -87
- data/_includes/Rating/structureddata.html +53 -53
- data/_includes/author_bio.html +15 -15
- data/_includes/authors/authors.html +27 -27
- data/_includes/custom-head.html +31 -31
- data/_includes/disqus_comments.html +10 -10
- data/_includes/filterWords/index.html +10 -10
- data/_includes/footer/index.html +47 -43
- data/_includes/google-analytics.html +22 -22
- data/_includes/head/index.html +108 -104
- data/_includes/header/blogHeader.html +28 -28
- data/_includes/header/index.html +41 -46
- data/_includes/paginationBlogPage.html +34 -34
- data/_includes/paginationPostPage.html +14 -14
- data/_includes/postauthorbio.html +17 -17
- data/_includes/postbox.html +29 -29
- data/_includes/script.html +13 -13
- data/_includes/section/about.html +25 -25
- data/_includes/section/alertbar.html +11 -11
- data/_includes/section/blog.html +41 -41
- data/_includes/section/commonPage.html +99 -92
- data/_includes/section/count.html +23 -23
- data/_includes/section/feature.html +34 -34
- data/_includes/section/home.html +94 -89
- data/_includes/section/home2.html +90 -83
- data/_includes/section/news.html +32 -32
- data/_includes/section/recent_posts.html +42 -42
- data/_includes/section/related_categories_post.html +73 -73
- data/_includes/section/related_tag_post.html +59 -59
- data/_includes/section/wordGroup.html +6 -6
- data/_includes/seo.html +56 -57
- data/_includes/share/socialshare.html +49 -50
- data/_layouts/blog.html +66 -66
- data/_layouts/categories.html +25 -25
- data/_layouts/default.html +43 -43
- data/_layouts/disclaimer.html +115 -115
- data/_layouts/page.html +67 -67
- data/_layouts/page2.html +60 -60
- data/_layouts/post.html +69 -69
- data/_layouts/privacyPolicy.html +420 -420
- data/_layouts/termAndCondition.html +421 -421
- data/_layouts/wordMeaning.html +106 -106
- data/assets/css/HomePageblog.css +154 -154
- data/assets/css/about.css +51 -51
- data/assets/css/advancedFilter.css +160 -160
- data/assets/css/blog.css +481 -481
- data/assets/css/feature.css +69 -69
- data/assets/css/footer.css +95 -95
- data/assets/css/home.css +235 -234
- data/assets/css/news.css +62 -62
- data/assets/css/style.css +399 -386
- data/assets/css/wordGroup.css +62 -62
- data/assets/images/angle-arrow-down.svg +43 -43
- data/assets/images/facebook-square.svg +1 -0
- data/assets/images/facebook.svg +1 -0
- data/assets/images/instagram-square.svg +1 -0
- data/assets/images/linkedin.svg +1 -0
- data/assets/images/linkedin2.svg +1 -0
- data/assets/images/ratingStar.png +0 -0
- data/assets/images/right.svg +38 -38
- data/assets/images/right2.svg +38 -38
- data/assets/images/right3.svg +38 -38
- data/assets/images/star.svg +1 -0
- data/assets/images/twitter-square.svg +1 -0
- data/assets/images/twitter.svg +1 -0
- data/assets/images/twitter2.svg +1 -0
- data/assets/images/window-close.png +0 -0
- data/assets/images/window-close.svg +1 -0
- data/assets/images/word-games-logo.svg +52 -52
- data/assets/js/TopScroll.js +8 -8
- data/assets/js/X-letter.js +359 -359
- data/assets/js/advancedFilter.js +5 -5
- data/assets/js/advancedFilter2.js +12 -12
- data/assets/js/advancedFilter3.js +2 -2
- data/assets/js/scrabbleDictonary.js +165 -165
- data/assets/js/wordScrabble.js +511 -510
- metadata +19 -8
- data/_data/header/hi/data.json +0 -145
@@ -1,84 +1,91 @@
|
|
1
|
-
{% assign file = page.fileName %}
|
2
|
-
{% assign lang = page.lang %}
|
3
|
-
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
-
|
5
|
-
<!-- starting landingPage -->
|
6
|
-
<div class="pageHeaderBg">
|
7
|
-
<div class="container">
|
8
|
-
<div class="pageHeading text-center">
|
9
|
-
<h1 class="heading pb-
|
10
|
-
{{dataToShow.h1}}</h1>
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
const
|
80
|
-
|
81
|
-
|
82
|
-
fillterWrapper.classList.
|
83
|
-
|
1
|
+
{% assign file = page.fileName %}
|
2
|
+
{% assign lang = page.lang %}
|
3
|
+
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
+
|
5
|
+
<!-- starting landingPage -->
|
6
|
+
<div class="pageHeaderBg">
|
7
|
+
<div class="container">
|
8
|
+
<div class="pageHeading text-center">
|
9
|
+
<h1 class="heading pb-0 m-0">
|
10
|
+
{{dataToShow.h1}}</h1>
|
11
|
+
{%- if dataToShow.h2 -%}
|
12
|
+
<h2>
|
13
|
+
{{dataToShow.h2}}</h2>
|
14
|
+
{%- endif -%}
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<div class="container-fluid" id="containerWd">
|
18
|
+
<div class="serachSection">
|
19
|
+
<div class="position-relative serachBox">
|
20
|
+
<form action="{{page.url}}/result" id='form' method="GET">
|
21
|
+
<input type="text" placeholder="Enter up to 15 letters?" class="txtBox" value name="search"
|
22
|
+
maxlength="15" required>
|
23
|
+
<input type="submit" class="serachBtn" id="serach" value>
|
24
|
+
<div class="dictonaryDropdown">
|
25
|
+
<select class="form-select select_dropDown2" name="dictonary"
|
26
|
+
aria-label="Default select example">
|
27
|
+
<option selected value="">Dictonary</option>
|
28
|
+
<option value="twl06" id="twl06">TWL06 (US, Canada, Thailand)</option>
|
29
|
+
<option value="sowpods" id="sowpods">SOWPODS (Uk and Others)</option>
|
30
|
+
<option value="wwf" id="wwf">Enable (Words With Friends)</option>
|
31
|
+
</select>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="wrapper_dropDown d-flex justify-content-end mt-5" style="gap:15px">
|
35
|
+
|
36
|
+
<div class="advancedFilter" style="position: relative;" onclick="myFunction()">
|
37
|
+
<input type="button" value="Advanced Filter" class="filterButton">
|
38
|
+
<div class="angle-arrow2"></div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<div class="fillterWrapper hide">
|
42
|
+
<div class="text-right times" style="cursor: pointer;">
|
43
|
+
<img src="../../assets/images/window-close.png" alt="" width="15px">
|
44
|
+
|
45
|
+
</div>
|
46
|
+
<div class="startsWith">
|
47
|
+
<label for="startsWith">Starts With</label>
|
48
|
+
<input type="text" id="startsWith" placeholder="Prefix" value="" name="prefix">
|
49
|
+
</div>
|
50
|
+
<div class="mustInclude">
|
51
|
+
<label for="mustInclude">Must Include </label>
|
52
|
+
<input type="text" id="mustInclude" placeholder="Contains" name="contains">
|
53
|
+
|
54
|
+
</div>
|
55
|
+
<div class="endsWith">
|
56
|
+
<label for="endsWith">End With</label>
|
57
|
+
<input type="text" id="endsWith" placeholder="Suffix" name="suffix">
|
58
|
+
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<div class="wordLength same">
|
62
|
+
<label for="wordLength">Word Length </label>
|
63
|
+
<input type="text" class="filter_val" id="wordLength" placeholder="Length" name="length"
|
64
|
+
value="">
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<div style="margin-top: 1.2rem;">
|
68
|
+
<input type="submit" value="Apply" class="btn-info w-100 text-white"
|
69
|
+
style="background: #BD67DD">
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</form>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
<!-- close landingPage -->
|
78
|
+
<script>
|
79
|
+
const advancedFilter = document.querySelector('.advancedFilter')
|
80
|
+
const fillterWrapper = document.querySelector('.fillterWrapper')
|
81
|
+
advancedFilter.addEventListener('click', () => {
|
82
|
+
fillterWrapper.classList.toggle('active')
|
83
|
+
fillterWrapper.classList.remove('hide')
|
84
|
+
})
|
85
|
+
|
86
|
+
const close = document.querySelector('.times')
|
87
|
+
close.addEventListener('click', () => {
|
88
|
+
fillterWrapper.classList.remove('active')
|
89
|
+
fillterWrapper.classList.add('hide')
|
90
|
+
})
|
84
91
|
</script>
|
data/_includes/section/news.html
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
{% assign file = page.fileName %}
|
2
|
-
{% assign lang = page.lang %}
|
3
|
-
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
-
<!-- starting news section -->
|
5
|
-
<div class="container-fluid">
|
6
|
-
<div class="row rowHeight2">
|
7
|
-
<div class="col-xl-3 col-lg-12">
|
8
|
-
<div class="row">
|
9
|
-
<div class="col-xl-3 p-0">
|
10
|
-
<div class="news">
|
11
|
-
<img src="/assets/images/left_obj_02.png" alt="">
|
12
|
-
<span class="site-no">{{dataToShow.newsNo}}</span>
|
13
|
-
<span class="site-no">{{dataToShow.FaqNo}}</span>
|
14
|
-
<h5 class="title">{{dataToShow.Faq_title}}</h5>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="col-xl-9 col-lg-12">
|
21
|
-
<div class="row my-xl-0">
|
22
|
-
{% for entry in dataToShow.faqList %}
|
23
|
-
<div class="col-md-6 pt-5">
|
24
|
-
<p class="meduim-text2 mb-0">{{entry.Question}}</p>
|
25
|
-
<p class="meduim-text mb-0">{{entry.Answer}}</p>
|
26
|
-
</div>
|
27
|
-
{% endfor %}
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
|
1
|
+
{% assign file = page.fileName %}
|
2
|
+
{% assign lang = page.lang %}
|
3
|
+
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
+
<!-- starting news section -->
|
5
|
+
<div class="container-fluid">
|
6
|
+
<div class="row rowHeight2">
|
7
|
+
<div class="col-xl-3 col-lg-12">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-xl-3 p-0">
|
10
|
+
<div class="news">
|
11
|
+
<img src="/assets/images/left_obj_02.png" alt="">
|
12
|
+
<span class="site-no">{{dataToShow.newsNo}}</span>
|
13
|
+
<span class="site-no">{{dataToShow.FaqNo}}</span>
|
14
|
+
<h5 class="title">{{dataToShow.Faq_title}}</h5>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="col-xl-9 col-lg-12">
|
21
|
+
<div class="row my-xl-0">
|
22
|
+
{% for entry in dataToShow.faqList %}
|
23
|
+
<div class="col-md-6 pt-5">
|
24
|
+
<p class="meduim-text2 mb-0">{{entry.Question}}</p>
|
25
|
+
<p class="meduim-text mb-0">{{entry.Answer}}</p>
|
26
|
+
</div>
|
27
|
+
{% endfor %}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
33
|
<!-- close -->
|
@@ -1,43 +1,43 @@
|
|
1
|
-
<div class="container">
|
2
|
-
<div class="relatedPosts">
|
3
|
-
{%- if site.posts.size>0 -%}
|
4
|
-
<h1 class="related_post_heading">Recent Posts</h1>
|
5
|
-
{%- endif -%}
|
6
|
-
<div class="row">
|
7
|
-
{% for post in site.posts offset:1 limit:3 %}
|
8
|
-
{% if post.url != page.url %}
|
9
|
-
{%- include /authors/authors.html -%}
|
10
|
-
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
11
|
-
<div class="card h-100">
|
12
|
-
<a href="{{ post.url }}">
|
13
|
-
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy" alt="">
|
14
|
-
</a>
|
15
|
-
<div class="card-body">
|
16
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
17
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
18
|
-
</a>
|
19
|
-
</div>
|
20
|
-
<div class="card-footer bg-white">
|
21
|
-
<div class="wrapfooter">
|
22
|
-
{% if post.author %}
|
23
|
-
<span class="meta-footer-thumb">
|
24
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
25
|
-
</span>
|
26
|
-
{% endif %}
|
27
|
-
<span class="author-meta">
|
28
|
-
<span class="post-name">
|
29
|
-
<a target="_blank" href="/blog">{{authorName}}</a>
|
30
|
-
</span><br>
|
31
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
32
|
-
</span>
|
33
|
-
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
34
|
-
title="Read Story">Read More</a></span>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
{% endif %}
|
40
|
-
{% endfor %}
|
41
|
-
</div>
|
42
|
-
</div>
|
1
|
+
<div class="container">
|
2
|
+
<div class="relatedPosts">
|
3
|
+
{%- if site.posts.size>0 -%}
|
4
|
+
<h1 class="related_post_heading">Recent Posts</h1>
|
5
|
+
{%- endif -%}
|
6
|
+
<div class="row">
|
7
|
+
{% for post in site.posts offset:1 limit:3 %}
|
8
|
+
{% if post.url != page.url %}
|
9
|
+
{%- include /authors/authors.html -%}
|
10
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
11
|
+
<div class="card h-100">
|
12
|
+
<a href="{{ post.url }}">
|
13
|
+
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy" alt="">
|
14
|
+
</a>
|
15
|
+
<div class="card-body">
|
16
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
17
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
18
|
+
</a>
|
19
|
+
</div>
|
20
|
+
<div class="card-footer bg-white">
|
21
|
+
<div class="wrapfooter">
|
22
|
+
{% if post.author %}
|
23
|
+
<span class="meta-footer-thumb">
|
24
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
25
|
+
</span>
|
26
|
+
{% endif %}
|
27
|
+
<span class="author-meta">
|
28
|
+
<span class="post-name">
|
29
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
30
|
+
</span><br>
|
31
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
32
|
+
</span>
|
33
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
34
|
+
title="Read Story">Read More</a></span>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
{% endif %}
|
40
|
+
{% endfor %}
|
41
|
+
</div>
|
42
|
+
</div>
|
43
43
|
</div>
|
@@ -1,74 +1,74 @@
|
|
1
|
-
<div class="container">
|
2
|
-
|
3
|
-
<div class="relatedPosts">
|
4
|
-
|
5
|
-
{%- if page.categories or page.tags-%}
|
6
|
-
<h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
|
7
|
-
{%- endif -%}
|
8
|
-
|
9
|
-
{% assign maxRelated = 3 %}
|
10
|
-
{% assign minCommonTags = 1 %}
|
11
|
-
{% assign maxRelatedCounter = 0 %}
|
12
|
-
|
13
|
-
<div class="row">
|
14
|
-
{% for post in site.posts %}
|
15
|
-
{%- include /authors/authors.html -%}
|
16
|
-
{% assign sameTagCount = 0 %}
|
17
|
-
{% assign commonTags = '' %}
|
18
|
-
|
19
|
-
{% for category in post.categories %}
|
20
|
-
{% if post.url != page.url %}
|
21
|
-
{% if page.categories contains category %}
|
22
|
-
{% 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
|
-
{% endif %}
|
28
|
-
{% endif %}
|
29
|
-
{% endfor %}
|
30
|
-
|
31
|
-
|
32
|
-
{% if sameTagCount >= minCommonTags %}
|
33
|
-
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
34
|
-
<div class="card h-100">
|
35
|
-
<a href="{{ post.url }}">
|
36
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%" alt="">
|
37
|
-
</a>
|
38
|
-
<div class="card-body">
|
39
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
40
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
41
|
-
</a>
|
42
|
-
</div>
|
43
|
-
<div class="card-footer bg-white">
|
44
|
-
<div class="wrapfooter">
|
45
|
-
{% if post.author %}
|
46
|
-
<span class="meta-footer-thumb">
|
47
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
48
|
-
</span>
|
49
|
-
{% endif %}
|
50
|
-
|
51
|
-
<span class="author-meta">
|
52
|
-
<span class="post-name">
|
53
|
-
<a target="_blank" href="/blog">{{authorName}}</a>
|
54
|
-
</span><br>
|
55
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
56
|
-
</span>
|
57
|
-
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
58
|
-
title="Read Story">Read More</a></span>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
64
|
-
{% if maxRelatedCounter >= maxRelated %}
|
65
|
-
{% break %}
|
66
|
-
{% endif %}
|
67
|
-
{% endif %}
|
68
|
-
{% endfor %}
|
69
|
-
{%- if page.tags -%}
|
70
|
-
{%- include section/related_tag_post.html -%}
|
71
|
-
{%- endif -%}
|
72
|
-
</div>
|
73
|
-
</div>
|
1
|
+
<div class="container">
|
2
|
+
|
3
|
+
<div class="relatedPosts">
|
4
|
+
|
5
|
+
{%- if page.categories or page.tags-%}
|
6
|
+
<h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
|
7
|
+
{%- endif -%}
|
8
|
+
|
9
|
+
{% assign maxRelated = 3 %}
|
10
|
+
{% assign minCommonTags = 1 %}
|
11
|
+
{% assign maxRelatedCounter = 0 %}
|
12
|
+
|
13
|
+
<div class="row">
|
14
|
+
{% for post in site.posts %}
|
15
|
+
{%- include /authors/authors.html -%}
|
16
|
+
{% assign sameTagCount = 0 %}
|
17
|
+
{% assign commonTags = '' %}
|
18
|
+
|
19
|
+
{% for category in post.categories %}
|
20
|
+
{% if post.url != page.url %}
|
21
|
+
{% if page.categories contains category %}
|
22
|
+
{% 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
|
+
{% endif %}
|
28
|
+
{% endif %}
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
|
32
|
+
{% if sameTagCount >= minCommonTags %}
|
33
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
34
|
+
<div class="card h-100">
|
35
|
+
<a href="{{ post.url }}">
|
36
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%" alt="">
|
37
|
+
</a>
|
38
|
+
<div class="card-body">
|
39
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
40
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
41
|
+
</a>
|
42
|
+
</div>
|
43
|
+
<div class="card-footer bg-white">
|
44
|
+
<div class="wrapfooter">
|
45
|
+
{% if post.author %}
|
46
|
+
<span class="meta-footer-thumb">
|
47
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
48
|
+
</span>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
<span class="author-meta">
|
52
|
+
<span class="post-name">
|
53
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
54
|
+
</span><br>
|
55
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
56
|
+
</span>
|
57
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
58
|
+
title="Read Story">Read More</a></span>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
64
|
+
{% if maxRelatedCounter >= maxRelated %}
|
65
|
+
{% break %}
|
66
|
+
{% endif %}
|
67
|
+
{% endif %}
|
68
|
+
{% endfor %}
|
69
|
+
{%- if page.tags -%}
|
70
|
+
{%- include section/related_tag_post.html -%}
|
71
|
+
{%- endif -%}
|
72
|
+
</div>
|
73
|
+
</div>
|
74
74
|
</div>
|