appscms-tools-theme 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/blog/nav.json +1 -1
- data/_data/feature/en/3_shop_posters.json +1 -0
- data/_data/feature/en/batch-conversion.json +6 -0
- data/_data/feature/en/compress-pdf.json +16 -1
- data/_data/feature/en/devtools.json +6 -0
- data/_data/feature/en/split-pdf.json +5 -0
- data/_data/feature/en/theframe.json +1 -0
- data/_data/header/en/data.json +1 -1
- data/_data/home/en/en.json +1 -0
- data/_includes/author_bio.html +31 -27
- data/_includes/custom-head.html +13 -0
- data/_includes/feature.html +10 -26
- data/_includes/featurePageAuthors/featurePageAuthors.html +107 -0
- data/_layouts/aboutUs.html +65 -4
- data/_layouts/allAuthors.html +122 -0
- data/_layouts/author.html +369 -0
- data/_layouts/blog.html +4 -4
- data/_layouts/devtools.html +2 -1
- data/_layouts/feature.html +321 -341
- data/_layouts/home.html +10 -2
- data/_layouts/post.html +30 -1
- data/assets/css/blog.css +1 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 964408f2af4a31ff067a52dfbb75c16092abde4510ae92f5577bb3e5b995300a
|
4
|
+
data.tar.gz: 7cd8c50db9a81518801e48216f79ab56fb2c3430b420525c9b1e13e1ed516728
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353728852e9644381c11c910ea770aed6e804bd55e822c089e1cb97d70ecff5ca426372f518732fc3c15620155fbf5733b1e937b7b7598302d438bacbf2da4b9
|
7
|
+
data.tar.gz: 408e3a4a8766b391ffb7f021d8cfd9217119a5007018748457d8c6ad102162623f83e65dc690a1241a9d59c5c7eb5c5036650b2b5bcfaa1af792ceab07cdec04
|
data/_data/blog/nav.json
CHANGED
@@ -8,6 +8,12 @@
|
|
8
8
|
"tags": [
|
9
9
|
"wordswithletters"
|
10
10
|
],
|
11
|
+
"author": "Ankita",
|
12
|
+
"contributors": [
|
13
|
+
{
|
14
|
+
"name": "udit"
|
15
|
+
}
|
16
|
+
],
|
11
17
|
"H1": "set alarm for $variable minutes from now",
|
12
18
|
"H2": "simplest online alarm clock to set alarms. Do not close browser tab.",
|
13
19
|
"TITLE": "set alarm for $variable minutes from now",
|
@@ -18,11 +18,26 @@
|
|
18
18
|
"imgwidth": "40px",
|
19
19
|
"imgheight": "40px",
|
20
20
|
"imgalt": "altvalue",
|
21
|
+
"author": "balark",
|
22
|
+
"contributors": [
|
23
|
+
{
|
24
|
+
"name": "udit"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"name": "balark"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"name": "pallavi"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Nikita"
|
34
|
+
}
|
35
|
+
],
|
21
36
|
"TEXTUAL_CONTENT": [
|
22
37
|
{
|
23
38
|
"priority": 1,
|
24
39
|
"logoUrl": "/assets/images/bulb.svg",
|
25
|
-
"header": "Simple to
|
40
|
+
"header": "Simple to easy",
|
26
41
|
"content": "The tool will do everything for you, just upload your file and it'll set the best parameters to reduce its size and to keep quality as much as possible."
|
27
42
|
},
|
28
43
|
{
|
@@ -12,6 +12,7 @@
|
|
12
12
|
"TITLE": "Image border tool- Surround your images with a border",
|
13
13
|
"META": "Image border tool helps you to add a simple border frame to your image. You can customize border colour and width. Border sets the focal subject.",
|
14
14
|
"TEXTUAL_CONTENT": [],
|
15
|
+
"author": "Ankita",
|
15
16
|
"FAQ": [
|
16
17
|
{
|
17
18
|
"question": "",
|
data/_data/header/en/data.json
CHANGED
data/_data/home/en/en.json
CHANGED
data/_includes/author_bio.html
CHANGED
@@ -1,36 +1,40 @@
|
|
1
1
|
{%- include /authors/authors.html -%}
|
2
|
+
<style>
|
3
|
+
.contributor-image {
|
4
|
+
width: 40px;
|
5
|
+
border-radius: 100%;
|
6
|
+
}
|
7
|
+
|
8
|
+
.contributors-count {
|
9
|
+
background: rgba(175, 184, 193, 0.2);
|
10
|
+
padding: 5px;
|
11
|
+
font-size: 15px;
|
12
|
+
border-radius: 100%;
|
13
|
+
display: inline-block;
|
14
|
+
width: 30px;
|
15
|
+
text-align: center;
|
16
|
+
}
|
17
|
+
</style>
|
2
18
|
<div class="wrapfooter">
|
3
|
-
<
|
4
|
-
<img
|
5
|
-
|
6
|
-
|
7
|
-
src="{{ image }}"
|
8
|
-
height="35px"
|
9
|
-
width="35px"
|
10
|
-
alt="{{ authorName}}"
|
11
|
-
id="author_img"
|
12
|
-
{%-
|
13
|
-
if
|
14
|
-
site.crossorigin
|
15
|
-
-%}
|
16
|
-
crossorigin
|
17
|
-
{%-
|
18
|
-
endif
|
19
|
-
-%}
|
20
|
-
/>
|
21
|
-
</span>
|
19
|
+
<a href="/author/{{authorName | downcase | replace: ' ' , '-'' }}" class="author_image">
|
20
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" height="35px" width="35px" alt="{{ authorName}}"
|
21
|
+
id="author_img" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
22
|
+
</a>
|
22
23
|
<span class="author-meta">
|
23
24
|
{%- if twitter != 'N/A' -%}
|
24
25
|
<a class="postName" target="_blank" href="{{twitter}}">{{authorName}}</a>
|
25
26
|
{%- else -%}
|
26
|
-
<p class="mb-0 postName">
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
>
|
27
|
+
<p class="mb-0 postName">
|
28
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-'' }}">
|
29
|
+
{{authorName}}
|
30
|
+
</a>
|
31
|
+
</p>
|
32
|
+
{%- endif -%}
|
33
|
+
{%- if twitter != 'N/A' -%}
|
34
|
+
<a class="btn_follow text-decoration-none" target="_blank" href="{{twitter}}">Follow</a>
|
34
35
|
{%- endif -%}
|
36
|
+
<p class="author_bio mb-0">{{bio}}</p>
|
35
37
|
</span>
|
36
38
|
</div>
|
39
|
+
|
40
|
+
|
data/_includes/custom-head.html
CHANGED
@@ -60,7 +60,20 @@
|
|
60
60
|
<meta property="og:site_name" content="{{site.name}}" />
|
61
61
|
<meta property="og:url" content="{{site.url | append: page.url}}" />
|
62
62
|
<meta name="author" content="{{ site.author_name }}" />
|
63
|
+
{%- if page.authorName -%}
|
64
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
65
|
+
{% for post in posts %}
|
66
|
+
{%- include /authors/authors.html -%}
|
67
|
+
{% if authorName contains page.authorName %}
|
68
|
+
{%- assign a = authorName -%}
|
69
|
+
{%- assign authorAbout = bio -%}
|
70
|
+
{%- endif -%}
|
71
|
+
{% endfor %}
|
72
|
+
<title>{{a}} - {{authorAbout}}</title>
|
73
|
+
{%- endif -%}
|
74
|
+
|
63
75
|
<title>{{title}}</title>
|
76
|
+
|
64
77
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
|
65
78
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
|
66
79
|
site.crossorigin -%} crossorigin {%- endif -%} />
|
data/_includes/feature.html
CHANGED
@@ -6,21 +6,15 @@ assign dataToShow = jsonPath %}
|
|
6
6
|
<div class="row">
|
7
7
|
<div class="col-xl-3 p-0">
|
8
8
|
<div class="feature">
|
9
|
-
<img
|
10
|
-
src="/assets/images/left_obj_01.png"
|
11
|
-
alt=""
|
12
|
-
{%-
|
13
|
-
if
|
14
|
-
site.crossorigin
|
15
|
-
-%}
|
16
|
-
crossorigin
|
17
|
-
{%-
|
18
|
-
endif
|
19
|
-
-%}
|
20
|
-
/>
|
9
|
+
<img src="/assets/images/left_obj_01.png" alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
21
10
|
<span class="site-no"> {{dataToShow.featureNo}}</span>
|
22
|
-
|
23
|
-
<
|
11
|
+
{%- if dataToShow.feature_title.size > 1 -%}
|
12
|
+
<h5 class="title">{{dataToShow.feature_title.size}}</h5>
|
13
|
+
{%- else -%}
|
14
|
+
<h5 class="title">ravi</h5>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<!-- <p class="description">{{dataToShow.feature_description}}</p> -->
|
24
18
|
</div>
|
25
19
|
</div>
|
26
20
|
</div>
|
@@ -42,15 +36,5 @@ assign dataToShow = jsonPath %}
|
|
42
36
|
</div>
|
43
37
|
</div>
|
44
38
|
</div>
|
45
|
-
<link
|
46
|
-
|
47
|
-
href="{{ 'css/feature.css' | relative_url }}"
|
48
|
-
{%-
|
49
|
-
if
|
50
|
-
site.crossorigin
|
51
|
-
-%}
|
52
|
-
crossorigin
|
53
|
-
{%-
|
54
|
-
endif
|
55
|
-
-%}
|
56
|
-
/>
|
39
|
+
<link rel="stylesheet" href="{{ 'css/feature.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
40
|
+
-%} />
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<style>
|
2
|
+
.authors-list {
|
3
|
+
border-top: 1px solid rgb(224, 224, 224);
|
4
|
+
margin-top: 100px;
|
5
|
+
padding: 100px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.featurePageAuthor {
|
9
|
+
display: flex;
|
10
|
+
flex-direction: column;
|
11
|
+
width: 100%;
|
12
|
+
justify-content: center;
|
13
|
+
}
|
14
|
+
|
15
|
+
.featurePageAuthor .author-meta {
|
16
|
+
width: 500px;
|
17
|
+
margin: 0 auto;
|
18
|
+
padding-bottom: 5rem;
|
19
|
+
}
|
20
|
+
|
21
|
+
.featurePageAuthor .author-meta .authorName {
|
22
|
+
font-size: 20px;
|
23
|
+
padding: 1rem 0px;
|
24
|
+
font-weight: 900;
|
25
|
+
}
|
26
|
+
|
27
|
+
.featurePageAuthor .author-img {
|
28
|
+
width: 100px;
|
29
|
+
height: 100px;
|
30
|
+
border-radius: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.featurePageAuthor .author_bio {
|
34
|
+
font-size: 16px;
|
35
|
+
}
|
36
|
+
</style>
|
37
|
+
{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
|
38
|
+
= page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
|
39
|
+
<section class="authors-list">
|
40
|
+
<div class="container">
|
41
|
+
<div class="row">
|
42
|
+
<div class="col-md-12">
|
43
|
+
{%- if featureData.author -%}
|
44
|
+
<h1 class="mb-4 text-center authors-heading font-weight-bolder">About The Author</h1>
|
45
|
+
{%- endif -%}
|
46
|
+
<div class="row">
|
47
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
48
|
+
{% assign seen_authors = '' %}
|
49
|
+
{% for post in site.posts %}
|
50
|
+
{% unless seen_authors contains post.author %}
|
51
|
+
{% assign seen_authors = seen_authors | append: post.author | append: ',' %}
|
52
|
+
{% assign featureAuthor = featureData.author | downcase %}
|
53
|
+
{%- include /authors/authors.html -%}
|
54
|
+
{%- assign name = authorName | downcase -%}
|
55
|
+
{%- if name contains featureAuthor -%}
|
56
|
+
<div class="featurePageAuthor">
|
57
|
+
<a href="/author/{{authorName | downcase | replace: ' ' , '-'' }}" class="author_image">
|
58
|
+
<img class="author-img" loading="lazy" src="{{ image }}" height="35px" width="35px"
|
59
|
+
alt="{{ authorName}}" id="author_img" {%- if site.crossorigin -%} crossorigin {%- endif
|
60
|
+
-%} />
|
61
|
+
</a>
|
62
|
+
<div class="author-meta">
|
63
|
+
<p class="mb-0 authorName">
|
64
|
+
<a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-'' }}">
|
65
|
+
{{authorName}}
|
66
|
+
</a>
|
67
|
+
</p>
|
68
|
+
<p class="author_bio mb-0">{{bio}}</p>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
{%- endif -%}
|
72
|
+
{% endunless %}
|
73
|
+
{% endfor %}
|
74
|
+
|
75
|
+
{%- if featureData.contributors -%}
|
76
|
+
<h2 class="mb-4 w-100 text-center authors-heading font-weight-bolder">Contributors</h2>
|
77
|
+
{%- endif -%}
|
78
|
+
|
79
|
+
<div class="d-flex justify-content-center w-100" style="gap:10px">
|
80
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
81
|
+
{% assign seen_authors = '' %}
|
82
|
+
{% for post in site.posts %}
|
83
|
+
{% unless seen_authors contains post.author %}
|
84
|
+
{% assign seen_authors = seen_authors | append: post.author | append: ',' %}
|
85
|
+
{% for contributor in featureData.contributors %}
|
86
|
+
{%- assign contributorAuthor = contributor.name | downcase -%}
|
87
|
+
{%- include /authors/authors.html -%}
|
88
|
+
{%- assign name = authorName | downcase -%}
|
89
|
+
|
90
|
+
{%- if name contains contributorAuthor -%}
|
91
|
+
|
92
|
+
<a href="/author/{{authorName | downcase | replace: ' ' , '-'' }}" class="author_image">
|
93
|
+
<img loading="lazy" src="{{ image }}" alt="{{ authorName}}"
|
94
|
+
style="border-radius:100%; width: 50px; height: 50px;" />
|
95
|
+
</a>
|
96
|
+
|
97
|
+
{%- endif -%}
|
98
|
+
{% endfor %}
|
99
|
+
{% endunless %}
|
100
|
+
{% endfor %}
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
</section>
|
data/_layouts/aboutUs.html
CHANGED
@@ -2,34 +2,95 @@
|
|
2
2
|
{% assign lang = page.lang %}
|
3
3
|
{% assign folder = page.folderName %}
|
4
4
|
{% assign aboutData = site.data[folder][lang][file] %}
|
5
|
+
|
5
6
|
<!DOCTYPE html>
|
6
7
|
<html lang="{{aboutData.htmlLangAtt}}">
|
7
8
|
{% include head/index.html %}
|
8
9
|
|
10
|
+
<style>
|
11
|
+
.highlight_style {
|
12
|
+
color: #007bff !important;
|
13
|
+
font-weight: 900;
|
14
|
+
text-decoration: underline;
|
15
|
+
}
|
16
|
+
|
17
|
+
.highlight_style:hover {
|
18
|
+
text-decoration: underline !important;
|
19
|
+
}
|
20
|
+
</style>
|
21
|
+
|
9
22
|
<body>
|
10
23
|
{% include header/index.html %}
|
11
24
|
{%- include dropdown/langdropdown.html -%}
|
12
25
|
<div class="container py-4 about_layout">
|
13
26
|
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
14
|
-
|
15
27
|
<div class="row">
|
16
28
|
<div class="col-md-9 mx-auto">
|
17
29
|
{%- endif -%}
|
18
30
|
<h1 class="about-h1 py-2">About us</h1>
|
19
31
|
<h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
|
20
|
-
<p class="about-para
|
32
|
+
<p class="about-para pt-4 text-left">We are here to help you. Ping us your queries at care@{{
|
21
33
|
page.companyName}}.{{page.domain}}</p>
|
22
34
|
<div>
|
23
35
|
{{content}}
|
24
36
|
</div>
|
25
37
|
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
26
|
-
|
27
38
|
</div>
|
28
39
|
</div>
|
29
40
|
{%- endif -%}
|
30
41
|
</div>
|
42
|
+
|
43
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
44
|
+
{% assign authors = "" | split: "," %}
|
45
|
+
{% for post in site.posts %}
|
46
|
+
{% if post.author %}
|
47
|
+
{% unless authors contains post.author %}
|
48
|
+
{% assign authors = authors | push: post.author %}
|
49
|
+
{% endunless %}
|
50
|
+
{% endif %}
|
51
|
+
{% endfor %}
|
52
|
+
|
53
|
+
|
54
|
+
<div class="container mt-4 mb-5">
|
55
|
+
<div class="row px-0">
|
56
|
+
<div class="col-md-4 my-4">
|
57
|
+
<img class="feature-card-img" src="/assets/images/lightbulb.svg" loading="lazy" height="48px" width="48px"
|
58
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
59
|
+
<div class="feature-card-title">Features</div>
|
60
|
+
<div class="feature-card-desc">Our website currently has <a class="highlight_style" href="/">{{ site.pages |
|
61
|
+
size }} features</a></div>
|
62
|
+
</div>
|
63
|
+
<div class="col-md-4 my-4">
|
64
|
+
<img class="feature-card-img" src="/assets/images/lightbulb.svg" loading="lazy" height="48px" width="48px"
|
65
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
66
|
+
<div class="feature-card-title">Languages Supported</div>
|
67
|
+
<div class="feature-card-desc">Our website currently supports 22 languages.</div>
|
68
|
+
</div>
|
69
|
+
<div class="col-md-4 my-4">
|
70
|
+
<img class="feature-card-img" src="/assets/images/lightbulb.svg" loading="lazy" height="48px" width="48px"
|
71
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
72
|
+
<div class="feature-card-title">Blog Posts</div>
|
73
|
+
<div class="feature-card-desc">We currently have <a class="highlight_style" href="/blog">{{ site.posts | size }}
|
74
|
+
blog posts</a> on our website.</div>
|
75
|
+
</div>
|
76
|
+
<div class="col-md-4 my-4">
|
77
|
+
<img class="feature-card-img" src="/assets/images/lightbulb.svg" loading="lazy" height="48px" width="48px"
|
78
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
79
|
+
<div class="feature-card-title">Authors</div>
|
80
|
+
<div class="feature-card-desc">We have <a class="highlight_style" href="/authors"> {{ authors.size }} authors
|
81
|
+
</a> on our website</div>
|
82
|
+
</div>
|
83
|
+
<div class="col-md-4 my-4">
|
84
|
+
<img class="feature-card-img" src="/assets/images/lightbulb.svg" loading="lazy" height="48px" width="48px"
|
85
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
86
|
+
<div class="feature-card-title">Total Visitors</div>
|
87
|
+
<div id="visits" class="feature-card-desc">{{site.totalVisitors}}</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
|
31
93
|
{% include staticfooter.html %}
|
32
94
|
{% include script.html %}
|
33
95
|
</body>
|
34
|
-
|
35
96
|
</html>
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include custom-head.html %}
|
4
|
+
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
font-family: 'Font Awesome 5 Free' !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.authors-heading {
|
11
|
+
font-size: 50px;
|
12
|
+
font-weight: 900;
|
13
|
+
}
|
14
|
+
|
15
|
+
.authors-info {
|
16
|
+
padding: 32px;
|
17
|
+
display: flex;
|
18
|
+
flex-direction: column;
|
19
|
+
justify-content: center;
|
20
|
+
text-align: center;
|
21
|
+
width: 100%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.authors-info .authors-image img {
|
25
|
+
display: inline-block;
|
26
|
+
width: 200px;
|
27
|
+
height: 200px;
|
28
|
+
padding: 8px;
|
29
|
+
border: 5px solid #eee;
|
30
|
+
border-radius: 50%;
|
31
|
+
object-fit: cover;
|
32
|
+
user-select: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.authors-info .authors-name {
|
36
|
+
margin: 1rem;
|
37
|
+
font-size: 28px;
|
38
|
+
color: #000;
|
39
|
+
font-weight: 900;
|
40
|
+
}
|
41
|
+
|
42
|
+
.authors-info .authors-bio {
|
43
|
+
color: #121315;
|
44
|
+
font-size: 16px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.authors-posts-count {
|
48
|
+
font-size: 24px;
|
49
|
+
font-weight: 400;
|
50
|
+
color: #000 !important;
|
51
|
+
text-decoration: underline !important;
|
52
|
+
}
|
53
|
+
</style>
|
54
|
+
|
55
|
+
<body>
|
56
|
+
{%- include header/blogHeader.html -%}
|
57
|
+
<section class="authors-list" style="margin-top:100px">
|
58
|
+
<div class="container">
|
59
|
+
<div class="row">
|
60
|
+
<div class="col-md-12">
|
61
|
+
<h1 class="mb-4 text-center authors-heading">Our Authors</h1>
|
62
|
+
<div class="row">
|
63
|
+
{% assign minCommonAuthor = 1 %}
|
64
|
+
{% assign sameAuthorCount = 0 %}
|
65
|
+
|
66
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
67
|
+
|
68
|
+
{% assign seen_authors = '' %}
|
69
|
+
{% for post in site.posts %}
|
70
|
+
{% unless seen_authors contains post.author %}
|
71
|
+
{% assign seen_authors = seen_authors | append: post.author | append: ',' %}
|
72
|
+
<!-- Render your author here -->
|
73
|
+
{%- include /authors/authors.html -%}
|
74
|
+
{%- if authorName contains authorName -%}
|
75
|
+
<div class=" col-md-4 mb-4">
|
76
|
+
<div class="authors-info">
|
77
|
+
<a class="authors-image"
|
78
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">
|
79
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
80
|
+
</a>
|
81
|
+
<a class="authors-name"
|
82
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
|
83
|
+
capitalize }}</a>
|
84
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
|
85
|
+
| size }} Posts</a>
|
86
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
{%- endif -%}
|
90
|
+
{% endunless %}
|
91
|
+
{% endfor %}
|
92
|
+
|
93
|
+
|
94
|
+
{% for post in posts %}
|
95
|
+
{%- include /authors/authors.html -%}
|
96
|
+
{%- if post.author contains authorName -%}
|
97
|
+
<div class="d-none col-md-4 mb-4">
|
98
|
+
<div class="authors-info">
|
99
|
+
<a class="authors-image"
|
100
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">
|
101
|
+
<img loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
102
|
+
</a>
|
103
|
+
<a class="authors-name"
|
104
|
+
href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName |
|
105
|
+
capitalize }}</a>
|
106
|
+
<a href="/blog" class="authors-posts-count">{{ site.posts | where: 'author', post.author
|
107
|
+
| size }} Posts</a>
|
108
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
{%- endif -%}
|
112
|
+
{% endfor %}
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
{% include section/count.html %}
|
118
|
+
</section>
|
119
|
+
{% include script.html %}
|
120
|
+
</body>
|
121
|
+
|
122
|
+
</html>
|