word-games-theme 1.8.6 → 1.8.7
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 +4 -4
- data/_data/blog/share.yml +1 -0
- data/_data/footer/en/data.json +4 -0
- data/_data/wordgames/en/root.json +223 -73
- data/_includes/author_bio.html +39 -18
- data/_includes/authorpagehead/index.html +37 -0
- data/_includes/custom-head.html +9 -1
- data/_includes/featurePageAuthors/featurePageAuthors.html +107 -0
- data/_includes/find-words-in-certain-positions/words-in-certain-positions.html +1 -1
- data/_includes/footer/index.html +6 -8
- data/_includes/head/index.html +6 -1
- data/_includes/header/blogHeader.html +1 -1
- data/_includes/header/index.html +4 -4
- data/_includes/script.html +7 -2
- data/_includes/section/feature.html +14 -0
- data/_includes/section/home.html +7 -8
- data/_layouts/aboutUs.html +136 -0
- data/_layouts/allAuthors.html +121 -0
- data/_layouts/author.html +410 -0
- data/_layouts/post.html +25 -0
- data/assets/css/bootstrap-icons.css +42 -0
- data/assets/css/font/bootstrap-icons.css +1981 -0
- data/assets/css/font/bootstrap-icons.json +1955 -0
- data/assets/css/font/bootstrap-icons.scss +1993 -0
- data/assets/css/fonts/bootstrap-icons.woff +0 -0
- data/assets/css/fonts/bootstrap-icons.woff2 +0 -0
- data/assets/css/style.css +64 -14
- data/assets/css/wordsInCertainPosition.css +6 -3
- data/assets/js/default.js +3 -6
- data/assets/js/theme.js +45 -0
- data/assets/js/wordScrabble-test.js +0 -3
- metadata +19 -7
data/_includes/footer/index.html
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
{%- if site.internationalization -%}
|
|
65
65
|
<center>
|
|
66
|
-
<button id="
|
|
66
|
+
<button id="int-modal-btn" type="button" class="drop-down-btn" data-toggle="modal"
|
|
67
67
|
data-target="#staticBackdrop">
|
|
68
68
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
69
69
|
<path
|
|
@@ -88,9 +88,8 @@
|
|
|
88
88
|
<div class="modal-header">
|
|
89
89
|
<h5 class="modal-title text-center w-100 " id="staticBackdropLabel">Select Language
|
|
90
90
|
</h5>
|
|
91
|
-
<button id="
|
|
92
|
-
|
|
93
|
-
<span style="font-size: 25px" aria-hidden="true">×</span>
|
|
91
|
+
<button type="button" class="close" id="close-modal" data-dismiss="modal" aria-label="Close">
|
|
92
|
+
<span aria-hidden="true">×</span>
|
|
94
93
|
</button>
|
|
95
94
|
</div>
|
|
96
95
|
<div class="modal-body px-md-5">
|
|
@@ -171,7 +170,7 @@
|
|
|
171
170
|
{%- else -%}
|
|
172
171
|
{%- if site.internationalizationall -%}
|
|
173
172
|
<center>
|
|
174
|
-
<button id="
|
|
173
|
+
<button id="int-modal-btn" type="button" class="drop-down-btn" data-toggle="modal"
|
|
175
174
|
data-target="#staticBackdrop">
|
|
176
175
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
177
176
|
<path
|
|
@@ -187,9 +186,8 @@
|
|
|
187
186
|
<div class="modal-header">
|
|
188
187
|
<h5 class="modal-title text-center w-100 " id="staticBackdropLabel">Select Language
|
|
189
188
|
</h5>
|
|
190
|
-
<button
|
|
191
|
-
aria-
|
|
192
|
-
<span style="font-size: 25px" aria-hidden="true">×</span>
|
|
189
|
+
<button type="button" class="close" id="close-modal" data-dismiss="modal" aria-label="Close">
|
|
190
|
+
<span aria-hidden="true">×</span>
|
|
193
191
|
</button>
|
|
194
192
|
</div>
|
|
195
193
|
<div class="modal-body px-md-5">
|
data/_includes/head/index.html
CHANGED
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
<meta name="keywords" content="{{site.keyboard}}" />
|
|
17
17
|
{%- endif -%}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
{%- if site.removeBootstrapIcons !=
|
|
20
|
+
true -%}
|
|
21
|
+
<link rel="stylesheet" href="/assets/css/bootstrap-icons.css" />
|
|
22
|
+
{%- endif -%}
|
|
20
23
|
|
|
21
24
|
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
|
|
22
25
|
<link rel="stylesheet" href="/assets/css/style.css">
|
|
@@ -52,6 +55,8 @@
|
|
|
52
55
|
<link rel="stylesheet" href="/assets/css/adBlocker.css">
|
|
53
56
|
{%- endif -%}
|
|
54
57
|
|
|
58
|
+
<link rel="manifest" href="/manifest.json">
|
|
59
|
+
|
|
55
60
|
{% include cssfile/links.html %}
|
|
56
61
|
|
|
57
62
|
<title>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
20
20
|
<ul class="navbar-nav ml-auto">
|
|
21
21
|
{%- for item in site.data.blog.nav.navItems -%}
|
|
22
|
-
<li class="nav-item">
|
|
22
|
+
<li class="nav-item" id="navbarDropdown">
|
|
23
23
|
<a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
|
|
24
24
|
</li>
|
|
25
25
|
{% endfor %}
|
data/_includes/header/index.html
CHANGED
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
<div class="nav-item">
|
|
21
21
|
<a class="nav-link" href="/blog">Blog</a>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="nav-item dropdown">
|
|
23
|
+
<div class="nav-item dropdown" id="navbarDropdown">
|
|
24
24
|
<span class="nav-link dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
|
25
25
|
More
|
|
26
26
|
</span>
|
|
27
27
|
{%- if dataToShow.megaMenu -%}
|
|
28
|
-
<div class="dropdown-menu top_tool_bar" aria-labelledby="dropdownMenuButton">
|
|
28
|
+
<div class="dropmenu dropdown-menu top_tool_bar" aria-labelledby="dropdownMenuButton">
|
|
29
29
|
{%- for item in dataToShow.megaMenu.dropdown -%}
|
|
30
30
|
<div class="catPad mb-4">
|
|
31
31
|
<div style="margin: 0 0 20px;" class="text-muted">{{item.categoryName}}</div>
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
<li class="nav-item">
|
|
50
50
|
<a class="nav-link" href="/blog">Blog</a>
|
|
51
51
|
</li>
|
|
52
|
-
<li class="nav-item dropdown">
|
|
52
|
+
<li class="nav-item dropdown" id="navbarDropdown">
|
|
53
53
|
<span class="nav-link dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" role="button">
|
|
54
54
|
More
|
|
55
55
|
</span>
|
|
56
|
-
<div class="top_tool_bar dropdown-menu" aria-labelledby="navbarDropdown">
|
|
56
|
+
<div class="top_tool_bar dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
|
|
57
57
|
{% for item in dataToShow.more %}
|
|
58
58
|
<a class="dropdown-item" href="{{item.url}}">
|
|
59
59
|
{{item.name}}
|
data/_includes/script.html
CHANGED
|
@@ -13,9 +13,16 @@
|
|
|
13
13
|
{%- endif -%}
|
|
14
14
|
|
|
15
15
|
{% assign scriptData = site.data.[page.folderName][lang][file] %}
|
|
16
|
+
|
|
17
|
+
<script defer src="/assets/js/theme.js"></script>
|
|
18
|
+
{%- if site.removeJquery != true -%}
|
|
16
19
|
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
20
|
+
{%- endif -%}
|
|
21
|
+
|
|
22
|
+
{%- if site.removeBootstrapJs != true -%}
|
|
17
23
|
<script defer="defer" src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
|
|
18
24
|
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
|
|
25
|
+
{%- endif -%}
|
|
19
26
|
|
|
20
27
|
{%- if page.layout == "post" -%}
|
|
21
28
|
<script src="//cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js" crossorigin="anonymous"></script>
|
|
@@ -38,7 +45,5 @@
|
|
|
38
45
|
<script delay="/assets/js/adBlocker.js"></script>
|
|
39
46
|
{%- endif -%}
|
|
40
47
|
|
|
41
|
-
<link defer rel="stylesheet"
|
|
42
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.2/font/bootstrap-icons.min.css" />
|
|
43
48
|
|
|
44
49
|
{%- include google-analytics.html -%}
|
|
@@ -11,13 +11,27 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
<div class="container">
|
|
13
13
|
<div class="row text-center features_data">
|
|
14
|
+
{% assign totalHeaderCount = 0 %}
|
|
15
|
+
{% for data in dataToShow.featureList %}
|
|
16
|
+
{% assign words = data.feature_heading | split: " " %}
|
|
17
|
+
{% assign word_count = words | size %}
|
|
18
|
+
{% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
|
|
19
|
+
{% endfor %}
|
|
20
|
+
|
|
21
|
+
|
|
14
22
|
{% for entry in dataToShow.featureList %}
|
|
15
23
|
<div class="col-lg-4 col-md-6 my-3">
|
|
16
24
|
<div class="card-body h-100">
|
|
17
25
|
<img src="{{ entry.fa_class }}" loading="lazy" height="25px" width="25px"
|
|
18
26
|
alt="{{entry.feature_heading}}"></img>
|
|
19
27
|
<div class="card-title">
|
|
28
|
+
{%- if dataToShow.h2 -%}
|
|
29
|
+
{%- if totalHeaderCount > site.count_of_words_in_headings -%}
|
|
30
|
+
{{dataToShow.h2}}
|
|
31
|
+
{%- endif -%}
|
|
32
|
+
{%- else -%}
|
|
20
33
|
{{ entry.feature_heading }}
|
|
34
|
+
{%- endif -%}
|
|
21
35
|
</div>
|
|
22
36
|
<div class="card-text" style="color: gray;
|
|
23
37
|
font-size: 14px;">{{ entry.feature_text}}</div>
|
data/_includes/section/home.html
CHANGED
|
@@ -60,8 +60,7 @@
|
|
|
60
60
|
<label for="startsWith">Starts With</label>
|
|
61
61
|
<input autocomplete="off" type="text" id="startsWith" placeholder="Prefix" value=""
|
|
62
62
|
name="prefix">
|
|
63
|
-
<div class="filter-tooltip" data-
|
|
64
|
-
title="Find words that start with these letters(AB-> Able)">
|
|
63
|
+
<div class="filter-tooltip" data-tip="Find words that start with these letters(AB-> Able)">
|
|
65
64
|
<i class="bi bi-question-circle"></i>
|
|
66
65
|
</div>
|
|
67
66
|
</div>
|
|
@@ -69,8 +68,8 @@
|
|
|
69
68
|
<label for="mustInclude">Must Contains </label>
|
|
70
69
|
<input autocomplete="off" type="text" id="mustInclude" placeholder="Contains"
|
|
71
70
|
name="contains">
|
|
72
|
-
<div class="filter-tooltip"
|
|
73
|
-
|
|
71
|
+
<div class="filter-tooltip"
|
|
72
|
+
data-tip="Words that contain letters in this order(ab)">
|
|
74
73
|
<i class="bi bi-question-circle"></i>
|
|
75
74
|
</div>
|
|
76
75
|
|
|
@@ -79,7 +78,7 @@
|
|
|
79
78
|
<label for="endsWith">End With</label>
|
|
80
79
|
<input autocomplete="off" type="text" id="endsWith" placeholder="Suffix" name="suffix">
|
|
81
80
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
|
82
|
-
|
|
81
|
+
data-tip="Filter for words that ends with these letters">
|
|
83
82
|
<i class="bi bi-question-circle"></i>
|
|
84
83
|
</div>
|
|
85
84
|
</div>
|
|
@@ -89,7 +88,7 @@
|
|
|
89
88
|
<input autocomplete="off" type="text" id="exculdeWith" placeholder="Exculde" value=""
|
|
90
89
|
name="exculde">
|
|
91
90
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
|
92
|
-
|
|
91
|
+
data-tip="Only words that not contain the letters you enter here">
|
|
93
92
|
<i class="bi bi-question-circle"></i>
|
|
94
93
|
</div>
|
|
95
94
|
</div>
|
|
@@ -100,7 +99,7 @@
|
|
|
100
99
|
<input autocomplete="off" type="text" id="inculdeWith" placeholder="Inculde" value=""
|
|
101
100
|
name="inculde">
|
|
102
101
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
|
103
|
-
|
|
102
|
+
data-tip="Only words that contain the letters you enter here">
|
|
104
103
|
<i class="bi bi-question-circle"></i>
|
|
105
104
|
</div>
|
|
106
105
|
</div>
|
|
@@ -116,7 +115,7 @@
|
|
|
116
115
|
style="background-color: {{CustomColor.inputButtonBg}};">
|
|
117
116
|
</div>
|
|
118
117
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
|
119
|
-
|
|
118
|
+
data-tip="Filter for words with this length">
|
|
120
119
|
<i class="bi bi-question-circle"></i>
|
|
121
120
|
</div>
|
|
122
121
|
</div>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{% assign file = page.fileName %}
|
|
2
|
+
{% assign lang = page.lang %}
|
|
3
|
+
{% assign folder = page.folderName %}
|
|
4
|
+
{% assign aboutData = site.data[folder][lang][file] %}
|
|
5
|
+
|
|
6
|
+
<!DOCTYPE html>
|
|
7
|
+
<html lang="{{aboutData.htmlLangAtt}}">
|
|
8
|
+
{% include head/index.html %}
|
|
9
|
+
|
|
10
|
+
<style>
|
|
11
|
+
.about-h1 {
|
|
12
|
+
line-height: 36px;
|
|
13
|
+
font-size: 30px;
|
|
14
|
+
font-stretch: 400;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
color: rgba(33, 33, 33, 1);
|
|
17
|
+
text-align: center;
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
.about-h2 {
|
|
21
|
+
line-height: 30px;
|
|
22
|
+
font-stretch: 400;
|
|
23
|
+
font-weight: 300;
|
|
24
|
+
font-size: 20px;
|
|
25
|
+
color: rgba(33, 33, 33, 1);
|
|
26
|
+
text-align: center;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
p{
|
|
30
|
+
font-size: 15px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.feature-card-title,
|
|
34
|
+
.faq-question,
|
|
35
|
+
.feature-card-desc,
|
|
36
|
+
.faq-answer {
|
|
37
|
+
line-height: 24px;
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
color: rgb(33, 33, 33);
|
|
41
|
+
text-align: center;
|
|
42
|
+
margin: 0px;
|
|
43
|
+
padding: 12px 0px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.feature-card-desc {
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.highlight_style {
|
|
51
|
+
color: #007bff !important;
|
|
52
|
+
font-weight: 900;
|
|
53
|
+
text-decoration: underline;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.highlight_style:hover {
|
|
57
|
+
text-decoration: underline !important;
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
60
|
+
|
|
61
|
+
<body>
|
|
62
|
+
{% include header/index.html %}
|
|
63
|
+
<div class="container py-5 about_layout">
|
|
64
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
65
|
+
<div class="row">
|
|
66
|
+
<div class="col-md-9 mx-auto">
|
|
67
|
+
{%- endif -%}
|
|
68
|
+
<h1 class="about-h1 py-2">About us</h1>
|
|
69
|
+
<h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
|
|
70
|
+
<p class="about-para pt-4 text-left">We are here to help you. Ping us your queries at care@{{
|
|
71
|
+
page.companyName}}.{{page.domain}}</p>
|
|
72
|
+
<div>
|
|
73
|
+
{{content}}
|
|
74
|
+
</div>
|
|
75
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
{%- endif -%}
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
82
|
+
{% assign authors = "" | split: "," %}
|
|
83
|
+
{% for post in site.posts %}
|
|
84
|
+
{% if post.author %}
|
|
85
|
+
{% unless authors contains post.author %}
|
|
86
|
+
{% assign authors = authors | push: post.author %}
|
|
87
|
+
{% endunless %}
|
|
88
|
+
{% endif %}
|
|
89
|
+
{% endfor %}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
<div class="container mt-4 mb-5">
|
|
93
|
+
<div class="row px-0 mx-auto text-center">
|
|
94
|
+
<div class="col-md-4 my-4">
|
|
95
|
+
<img class="feature-card-img" src="/assets/images/star.svg" loading="lazy" height="48px" width="48px"
|
|
96
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
97
|
+
<div class="feature-card-title">Features</div>
|
|
98
|
+
<div class="feature-card-desc">Our website currently has
|
|
99
|
+
<a class="highlight_style" href="{{site.url}}/sitemap.xml">{{ site.pages |
|
|
100
|
+
size }} features</a>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="col-md-4 my-4">
|
|
104
|
+
<img class="feature-card-img" src="/assets/images/star.svg" loading="lazy" height="48px" width="48px"
|
|
105
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
106
|
+
<div class="feature-card-title">Languages Supported</div>
|
|
107
|
+
<div class="feature-card-desc">Our website currently supports 22 languages.</div>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="col-md-4 my-4">
|
|
110
|
+
<img class="feature-card-img" src="/assets/images/star.svg" loading="lazy" height="48px" width="48px"
|
|
111
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
112
|
+
<div class="feature-card-title">Blog Posts</div>
|
|
113
|
+
<div class="feature-card-desc">We currently have <a class="highlight_style" href="/blog">{{ site.posts | size }}
|
|
114
|
+
blog posts</a> on our website.</div>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-md-4 my-4">
|
|
117
|
+
<img class="feature-card-img" src="/assets/images/star.svg" loading="lazy" height="48px" width="48px"
|
|
118
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
119
|
+
<div class="feature-card-title">Authors</div>
|
|
120
|
+
<div class="feature-card-desc">We have <a class="highlight_style" href="/authors"> {{ authors.size }} authors
|
|
121
|
+
</a> on our website</div>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="col-md-4 my-4">
|
|
124
|
+
<img class="feature-card-img" src="/assets/images/star.svg" loading="lazy" height="48px" width="48px"
|
|
125
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
126
|
+
<div class="feature-card-title">Total Visitors</div>
|
|
127
|
+
<div id="visits" class="feature-card-desc">{{site.totalVisitors}}</div>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
|
|
132
|
+
{% include footer/index.html %}
|
|
133
|
+
{% include script.html %}
|
|
134
|
+
</body>
|
|
135
|
+
|
|
136
|
+
</html>
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
{% include authorpagehead/index.html %}
|
|
4
|
+
<style>
|
|
5
|
+
body {
|
|
6
|
+
font-family: 'Font Awesome 5 Free' !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.authors-heading {
|
|
10
|
+
font-size: 50px;
|
|
11
|
+
font-weight: 900;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.authors-info {
|
|
15
|
+
padding: 32px;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
text-align: center;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.authors-info .authors-image img {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
width: 200px;
|
|
26
|
+
height: 200px;
|
|
27
|
+
padding: 8px;
|
|
28
|
+
border: 5px solid #eee;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
user-select: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.authors-info .authors-name {
|
|
35
|
+
margin: 1rem;
|
|
36
|
+
font-size: 28px;
|
|
37
|
+
color: #000;
|
|
38
|
+
font-weight: 900;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.authors-info .authors-bio {
|
|
42
|
+
color: #121315;
|
|
43
|
+
font-size: 16px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.authors-posts-count {
|
|
47
|
+
font-size: 24px;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
color: #000 !important;
|
|
50
|
+
text-decoration: underline !important;
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
53
|
+
|
|
54
|
+
<body>
|
|
55
|
+
{%- include header/blogHeader.html -%}
|
|
56
|
+
<section class="authors-list" style="margin-top:100px">
|
|
57
|
+
<div class="container">
|
|
58
|
+
<div class="row">
|
|
59
|
+
<div class="col-md-12">
|
|
60
|
+
<h1 class="mb-4 text-center authors-heading">Our Authors</h1>
|
|
61
|
+
<div class="row">
|
|
62
|
+
{% assign minCommonAuthor = 1 %}
|
|
63
|
+
{% assign sameAuthorCount = 0 %}
|
|
64
|
+
|
|
65
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
66
|
+
|
|
67
|
+
{% assign seen_authors = '' %}
|
|
68
|
+
{% for post in site.posts %}
|
|
69
|
+
{% unless seen_authors contains post.author %}
|
|
70
|
+
{% assign seen_authors = seen_authors | append: post.author | append: ',' %}
|
|
71
|
+
<!-- Render your author here -->
|
|
72
|
+
{%- include /authors/authors.html -%}
|
|
73
|
+
{%- if authorName contains authorName -%}
|
|
74
|
+
<div class=" col-md-4 mb-4">
|
|
75
|
+
<div class="authors-info">
|
|
76
|
+
<a class="authors-image"
|
|
77
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">
|
|
78
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
|
79
|
+
</a>
|
|
80
|
+
<a class="authors-name"
|
|
81
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
|
|
82
|
+
capitalize }}</a>
|
|
83
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
|
|
84
|
+
| size }} Posts</a>
|
|
85
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
{%- endif -%}
|
|
89
|
+
{% endunless %}
|
|
90
|
+
{% endfor %}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
{% for post in posts %}
|
|
94
|
+
{%- include /authors/authors.html -%}
|
|
95
|
+
{%- if post.author contains authorName -%}
|
|
96
|
+
<div class="d-none col-md-4 mb-4">
|
|
97
|
+
<div class="authors-info">
|
|
98
|
+
<a class="authors-image"
|
|
99
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">
|
|
100
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
|
101
|
+
</a>
|
|
102
|
+
<a class="authors-name"
|
|
103
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
|
|
104
|
+
capitalize }}</a>
|
|
105
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
|
|
106
|
+
| size }} Posts</a>
|
|
107
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
{%- endif -%}
|
|
111
|
+
{% endfor %}
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
{% include section/count.html %}
|
|
117
|
+
</section>
|
|
118
|
+
{% include script.html %}
|
|
119
|
+
</body>
|
|
120
|
+
|
|
121
|
+
</html>
|