appscms-tools-theme 4.5.4 → 4.5.6
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/nav.json +2 -2
- data/_data/feature/en/compress-pdf.json +301 -344
- data/_data/header/en/data.json +1 -1
- data/_includes/appscms/customblog/contenttool-recent-posts.html +72 -71
- data/_includes/appscms/customblog/pageRelatedPosts.html +3 -3
- data/_includes/appscms/customblog/recentposts.html +3 -3
- data/_includes/appscms/customblog/relatedBlogs.html +3 -3
- data/_includes/appscms/customblog/relatedposts.html +5 -4
- data/_includes/appscms/extras/appscms-postbox.html +25 -28
- data/_includes/appscms/head/head.html +182 -72
- data/_includes/appscms/infographics/infographics.html +27 -21
- data/_includes/appscms/recent-posts/recent_posts.html +2 -4
- data/_includes/appscms/recent-posts/related_categories_post.html +4 -4
- data/_includes/customblog/pageRelatedPosts.html +1 -1
- data/_includes/customblog/recentposts.html +1 -1
- data/_includes/customblog/relatedBlogs.html +1 -1
- data/_includes/customblog/relatedposts.html +2 -2
- data/_includes/paginationBlogPage.html +2 -2
- data/_includes/postbox.html +62 -29
- data/_includes/section/recent_posts.html +86 -58
- data/_includes/section/related_categories_post.html +2 -2
- data/_layouts/aboutUs.html +161 -85
- data/_layouts/allAuthors.html +2 -2
- data/_layouts/appscms-about.html +1 -1
- data/_layouts/appscms-author.html +2 -2
- data/_layouts/appscms-authors.html +136 -162
- data/_layouts/appscms-blog.html +94 -55
- data/_layouts/blog-1.html +100 -68
- metadata +2 -2
|
@@ -1,171 +1,145 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
{% include appscms/head/bloghead.html %}
|
|
4
|
-
<style>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
</style>
|
|
53
|
-
|
|
54
|
-
<body>
|
|
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
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
{%- elsif forloop.index == 2 -%}
|
|
133
|
-
{%- assign image = item -%}
|
|
134
|
-
{%- elsif forloop.index == 3 -%}
|
|
135
|
-
{%- assign bio = item -%}
|
|
136
|
-
{%- endif -%}
|
|
137
|
-
{%- endfor -%}
|
|
138
|
-
<div class="col-md-4 mb-5">
|
|
139
|
-
<div class="authors-info">
|
|
140
|
-
<a class="authors-image" href="/authors/{{authorName | downcase | replace: ' ', '-' }}">
|
|
141
|
-
<img loading="lazy" src="{{image}}" alt="{{ authorName }}" />
|
|
142
|
-
</a>
|
|
143
|
-
<a class="authors-name" href="/authors/{{authorName | downcase | replace: ' ', '-' }}">{{authorName |
|
|
144
|
-
capitalize }}</a>
|
|
145
|
-
|
|
146
|
-
{% assign authorPosts = site.posts | where: 'author', author %}
|
|
147
|
-
{% assign postCount = authorPosts | size %}
|
|
148
|
-
|
|
149
|
-
{% if postCount > 0 %}
|
|
150
|
-
<a href="/blog" class="authors-posts-count">{{ postCount }} Posts</a>
|
|
151
|
-
{% endif %}
|
|
152
|
-
|
|
153
|
-
<p class="authors-bio mt-3">{{bio}}</p>
|
|
3
|
+
{% include appscms/head/bloghead.html %}
|
|
4
|
+
<style>
|
|
5
|
+
.authors-heading {
|
|
6
|
+
font-size: 50px;
|
|
7
|
+
font-weight: 900;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.authors-info {
|
|
11
|
+
padding: 32px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
text-align: center;
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
background: white;
|
|
19
|
+
box-shadow: 2px 4px 8px #d0cdcd;
|
|
20
|
+
border-radius: 15px;
|
|
21
|
+
margin-bottom: 100px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.authors-info .authors-image img {
|
|
25
|
+
display: inline-block;
|
|
26
|
+
width: 150px;
|
|
27
|
+
height: 150px;
|
|
28
|
+
padding: 8px;
|
|
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: 23px;
|
|
37
|
+
color: #000;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.authors-info .authors-bio {
|
|
42
|
+
color: #121315;
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.authors-posts-count {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
color: #000 !important;
|
|
50
|
+
text-decoration: underline !important;
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
53
|
+
|
|
54
|
+
<body>
|
|
55
|
+
{%- include appscms/navbars/navbar.html -%} {%- include
|
|
56
|
+
appscms/navbars/toolbar.html -%}
|
|
57
|
+
<section class="authors-list" style="margin-top: 50px">
|
|
58
|
+
<div class="container">
|
|
59
|
+
<div class="row">
|
|
60
|
+
<div class="col-md-12">
|
|
61
|
+
<h1 class="mb-5 text-center authors-heading">Our Authors</h1>
|
|
62
|
+
<div class="row">
|
|
63
|
+
{% assign authorsList = "" | split: "" %} {% assign folder_path =
|
|
64
|
+
'' %} {% for file in site.pages %} {% if file.path contains
|
|
65
|
+
folder_path %} {% assign pageData = file | parse_yaml %} {% assign
|
|
66
|
+
lang = pageData.lang %} {% assign foldername = pageData.folderName
|
|
67
|
+
%} {% assign filename = pageData.fileName %} {% assign permalink =
|
|
68
|
+
pageData.permalink %} {% assign json_data =
|
|
69
|
+
site.data[foldername][lang][filename] | json %} {% for author in
|
|
70
|
+
json_data.author %} {%- assign splitAuthor = author | split: " "
|
|
71
|
+
-%} {% assign featureAuthorFirst = splitAuthor.first | downcase %}
|
|
72
|
+
{%- assign collectionData = [featureAuthorFirst] -%} {%- for item
|
|
73
|
+
in collectionData -%} {%- if forloop.index == 1 -%} {%- assign
|
|
74
|
+
seoTeamAuthorName = item -%} {%- assign authorsList = authorsList
|
|
75
|
+
| push: seoTeamAuthorName -%} {%- endif -%} {%- endfor -%} {%
|
|
76
|
+
endfor %} {% endif %} {%- endfor -%} {% assign contributorAuthors
|
|
77
|
+
= "" | split: "" %} {% assign folder_path = '' %} {% for file in
|
|
78
|
+
site.pages %} {% if file.path contains folder_path %} {% assign
|
|
79
|
+
pageData = file | parse_yaml %} {% assign lang = pageData.lang %}
|
|
80
|
+
{% assign foldername = pageData.folderName %} {% assign filename =
|
|
81
|
+
pageData.fileName %} {% assign permalink = pageData.permalink %}
|
|
82
|
+
{% assign json_data = site.data[foldername][lang][filename] | json
|
|
83
|
+
%} {% for contributor in json_data.contributors %} {%- assign
|
|
84
|
+
splitAuthor = contributor.name | split: " " -%} {% assign
|
|
85
|
+
contributorAuthor = splitAuthor.first | downcase %} {%- assign
|
|
86
|
+
collectionData = [contributorAuthor] -%} {%- for item in
|
|
87
|
+
collectionData -%} {%- if forloop.index == 1 -%} {%- assign
|
|
88
|
+
contributorAuthor = item -%} {%- assign contributorAuthors =
|
|
89
|
+
contributorAuthors | push: contributorAuthor -%} {% assign
|
|
90
|
+
mergedArray = authorsList | concat: contributorAuthors %} {% endif
|
|
91
|
+
%} {%- endfor -%} {% endfor %} {% endif %} {% endfor %} {% assign
|
|
92
|
+
postAuthors = "" | split: "" %} {%- for post in site.posts -%} {%-
|
|
93
|
+
if post.author != "" -%} {%- assign postAuthors = postAuthors |
|
|
94
|
+
push: post.author -%} {% assign final_array = mergedArray |
|
|
95
|
+
concat: postAuthors %} {%- endif -%} {%- endfor -%} {% assign
|
|
96
|
+
uniqueArray = final_array | uniq %} {% for author in uniqueArray
|
|
97
|
+
%} {%- assign splitAuthor = author | split: " " -%} {%- assign
|
|
98
|
+
authorFirst = splitAuthor.first | downcase -%} {%- assign
|
|
99
|
+
collectionData = [authorFirst] -%} {%- for item in collectionData
|
|
100
|
+
-%} {%- if forloop.index == 1 -%} {%- assign authorName = item -%}
|
|
101
|
+
{%- elsif forloop.index == 2 -%} {%- assign image = item -%} {%-
|
|
102
|
+
elsif forloop.index == 3 -%} {%- assign bio = item -%} {%- endif
|
|
103
|
+
-%} {%- endfor -%}
|
|
104
|
+
<div class="col-md-4 mb-5">
|
|
105
|
+
<div class="authors-info">
|
|
106
|
+
<a
|
|
107
|
+
class="authors-image"
|
|
108
|
+
href="/authors/{{authorName | downcase | replace: ' ', '-' }}"
|
|
109
|
+
>
|
|
110
|
+
<img
|
|
111
|
+
loading="lazy"
|
|
112
|
+
src="{{image}}"
|
|
113
|
+
alt="{{ authorName }}"
|
|
114
|
+
/>
|
|
115
|
+
</a>
|
|
116
|
+
<a
|
|
117
|
+
class="authors-name"
|
|
118
|
+
href="/authors/{{authorName | downcase | replace: ' ', '-' }}"
|
|
119
|
+
>{{authorName | capitalize }}</a
|
|
120
|
+
>
|
|
121
|
+
|
|
122
|
+
{% assign authorPosts = site.posts | where: 'author', author
|
|
123
|
+
%} {% assign postCount = authorPosts | size %} {% if postCount
|
|
124
|
+
> 0 %}
|
|
125
|
+
<a href="/blog/" class="authors-posts-count"
|
|
126
|
+
>{{ postCount }} Posts</a
|
|
127
|
+
>
|
|
128
|
+
{% endif %}
|
|
129
|
+
|
|
130
|
+
<p class="authors-bio mt-3">{{bio}}</p>
|
|
131
|
+
</div>
|
|
154
132
|
</div>
|
|
133
|
+
{% endfor %}
|
|
155
134
|
</div>
|
|
156
|
-
{% endfor %}
|
|
157
135
|
</div>
|
|
158
136
|
</div>
|
|
159
137
|
</div>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</body>
|
|
166
|
-
|
|
138
|
+
{% include section/count.html %}
|
|
139
|
+
</section>
|
|
140
|
+
{%- include appscms/footer/static-footer.html -%} {%- include
|
|
141
|
+
appscms/scripts/script.html -%}
|
|
142
|
+
</body>
|
|
167
143
|
</html>
|
|
168
144
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<!-- author name should be same in feature json or blog posts json -->
|
|
145
|
+
<!-- author name should be same in feature json or blog posts json -->
|
data/_layouts/appscms-blog.html
CHANGED
|
@@ -1,78 +1,117 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
{% include appscms/head/bloghead.html %}
|
|
3
|
+
{% include appscms/head/bloghead.html %}
|
|
4
4
|
|
|
5
|
-
<body>
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
<body>
|
|
6
|
+
{%- include appscms/navbars/navbar.html -%} {%- include
|
|
7
|
+
appscms/navbars/toolbar.html -%}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
{%- if site.monumetricId -%}
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
{%- endif -%}
|
|
25
|
-
<div class="main-content">{{content}}</div>
|
|
26
|
-
<div class="row">
|
|
27
|
-
<div class="col-md-10 mx-auto">
|
|
28
|
-
<div class="row allblogs shadow appscms-blogs">
|
|
9
|
+
<section>
|
|
10
|
+
<div class="container">
|
|
11
|
+
{%- if site.monumetricId -%}
|
|
12
|
+
<div class="row">
|
|
13
|
+
<div class="col-md-9 mx-auto">
|
|
14
|
+
{%- endif -%}
|
|
15
|
+
<h1 class="appscms-h1 mt-5 text-center">
|
|
16
|
+
{{ site.data.blog.blog.h1 }}
|
|
17
|
+
</h1>
|
|
18
|
+
<p class="appscms-h2 text-center mb-5" style="font-size: 18px">
|
|
19
|
+
{{ site.data.blog.blog.description }}
|
|
20
|
+
</p>
|
|
29
21
|
{%- if site.monumetricId -%}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
{%- endif -%}
|
|
25
|
+
<div class="main-content">{{content}}</div>
|
|
26
|
+
<div class="row">
|
|
27
|
+
<div class="col-md-10 mx-auto">
|
|
28
|
+
<div class="row allblogs shadow appscms-blogs">
|
|
29
|
+
{%- if site.monumetricId -%}
|
|
30
|
+
<div class="col-md-9 mx-auto">
|
|
31
|
+
<div class="row">
|
|
32
|
+
{%- endif -%} {% for post in paginator.posts %}
|
|
33
|
+
<div
|
|
34
|
+
class="{%- if site.monumetricId -%} col-md-6 mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%}"
|
|
35
|
+
>
|
|
36
|
+
<div class="card h-100 appscms-blog-cards">
|
|
37
|
+
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
38
|
+
<img
|
|
39
|
+
src="{{ post.image }}"
|
|
40
|
+
loading="lazy"
|
|
41
|
+
height="215px"
|
|
42
|
+
width="100%"
|
|
43
|
+
class="card-img-top"
|
|
44
|
+
alt="{{post.title}}"
|
|
45
|
+
{%-
|
|
46
|
+
if
|
|
47
|
+
site.crossorigin
|
|
48
|
+
-%}
|
|
49
|
+
crossorigin="anonymous"
|
|
50
|
+
{%-
|
|
51
|
+
endif
|
|
52
|
+
-%}
|
|
53
|
+
/>
|
|
43
54
|
</a>
|
|
44
|
-
|
|
55
|
+
<div class="card-body">
|
|
56
|
+
<a
|
|
57
|
+
href="{{ post.url }}"
|
|
58
|
+
class="anchor_link"
|
|
59
|
+
aria-label="{{post.title}}"
|
|
60
|
+
>
|
|
61
|
+
<h4 class="card-title mb-4">{{ post.title }}</h4>
|
|
62
|
+
</a>
|
|
63
|
+
{%- include authors/authors.html -%}
|
|
45
64
|
<div class="wrapfooter">
|
|
46
65
|
{% if post.author %}
|
|
47
|
-
<a
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
66
|
+
<a
|
|
67
|
+
target="_blank"
|
|
68
|
+
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
|
|
69
|
+
class="meta-footer-thumb"
|
|
70
|
+
aria-label="{{authorName}}"
|
|
71
|
+
>
|
|
72
|
+
<img
|
|
73
|
+
class="author-thumb"
|
|
74
|
+
loading="lazy"
|
|
75
|
+
src="{{ image }}"
|
|
76
|
+
alt="{{ authorName }}"
|
|
77
|
+
{%-
|
|
78
|
+
if
|
|
79
|
+
site.crossorigin
|
|
80
|
+
-%}
|
|
81
|
+
crossorigin="anonymous"
|
|
82
|
+
{%-
|
|
83
|
+
endif
|
|
84
|
+
-%}
|
|
85
|
+
/>
|
|
51
86
|
</a>
|
|
52
87
|
{% endif %}
|
|
53
88
|
|
|
54
89
|
<div class="author-meta">
|
|
55
|
-
|
|
56
|
-
|
|
90
|
+
<a
|
|
91
|
+
target="_blank"
|
|
92
|
+
href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
|
|
93
|
+
>{{authorName}}</a
|
|
94
|
+
>
|
|
95
|
+
<div class="post-date">
|
|
96
|
+
{{post.date | date_to_string }}
|
|
97
|
+
</div>
|
|
57
98
|
</div>
|
|
58
99
|
</div>
|
|
100
|
+
</div>
|
|
59
101
|
</div>
|
|
60
|
-
|
|
61
102
|
</div>
|
|
103
|
+
{% endfor %} {%- if site.monumetricId -%}
|
|
62
104
|
</div>
|
|
63
|
-
{% endfor %} {%- if site.monumetricId -%}
|
|
64
105
|
</div>
|
|
106
|
+
{%- endif -%}
|
|
65
107
|
</div>
|
|
66
|
-
{%- endif -%}
|
|
67
108
|
</div>
|
|
68
109
|
</div>
|
|
110
|
+
{%- include paginationBlogPage.html -%}
|
|
69
111
|
</div>
|
|
70
|
-
{%- include paginationBlogPage.html -%}
|
|
71
|
-
</div>
|
|
72
|
-
|
|
73
|
-
{% include section/count.html %}
|
|
74
|
-
</section>
|
|
75
|
-
{% include appscms/scripts/script.html %}
|
|
76
|
-
</body>
|
|
77
112
|
|
|
78
|
-
|
|
113
|
+
{% include section/count.html %}
|
|
114
|
+
</section>
|
|
115
|
+
{% include appscms/scripts/script.html %}
|
|
116
|
+
</body>
|
|
117
|
+
</html>
|