appscms-tools-theme 4.8.2 → 4.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/_data/.DS_Store +0 -0
  3. data/_data/about/en/about.json +16 -16
  4. data/_data/blog/nav.json +14 -14
  5. data/_data/blog/relatedblogs.json +2816 -2816
  6. data/_data/feature/en/batch-conversion.json +192 -192
  7. data/_data/feature/en/compress-pdf.json +223 -223
  8. data/_data/feature/en/devtools.json +321 -321
  9. data/_data/feature/en/face-detection.json +156 -156
  10. data/_data/feature/en/split-pdf.json +221 -221
  11. data/_data/feature/en/theframe.json +160 -160
  12. data/_data/footer/en/data.json +264 -264
  13. data/_data/header/en/data.json +672 -672
  14. data/_data/home/en/en.json +250 -250
  15. data/_data/home/en/posters.json +322 -322
  16. data/_data/home-1/en/en.json +236 -236
  17. data/_data/noindexURLs.json +23 -0
  18. data/_includes/.DS_Store +0 -0
  19. data/_includes/alternates/alternates.html +64 -89
  20. data/_includes/appscms/customblog/contenttool-recent-posts.html +94 -94
  21. data/_includes/appscms/customblog/pageRelatedPosts.html +68 -68
  22. data/_includes/appscms/customblog/recentposts.html +67 -67
  23. data/_includes/appscms/customblog/relatedBlogs.html +82 -82
  24. data/_includes/appscms/customblog/relatedposts.html +193 -193
  25. data/_includes/appscms/extras/appscms-postbox.html +57 -57
  26. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +85 -85
  27. data/_includes/appscms/head/bloghead.html +128 -128
  28. data/_includes/appscms/headings/contenttool-headings.html +33 -33
  29. data/_includes/appscms/headings/devtool-headings.html +38 -38
  30. data/_includes/appscms/home/contenttool-feature-boxes.html +19 -19
  31. data/_includes/appscms/home/devtool-feature-boxes.html +70 -70
  32. data/_includes/appscms/infographics/infographics.html +241 -32
  33. data/_includes/appscms/loaders/loader.html +4 -4
  34. data/_includes/appscms/navbars/devtool-navbar.html +50 -50
  35. data/_includes/appscms/navbars/devtool-toolbar.html +100 -100
  36. data/_includes/appscms/navbars/navbar.html +129 -75
  37. data/_includes/appscms/navbars/toolbar.html +326 -139
  38. data/_includes/appscms/recent-posts/recent_posts.html +90 -90
  39. data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
  40. data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
  41. data/_includes/appscms/usp/usp.html +90 -90
  42. data/_includes/author_bio.html +41 -41
  43. data/_includes/authorpagehead/index.html +47 -47
  44. data/_includes/authors/authors.html +39 -39
  45. data/_includes/batch-conversion.html +141 -141
  46. data/_includes/bookmark.html +6 -6
  47. data/_includes/cssfile/links.html +54 -54
  48. data/_includes/custom-head.html +138 -138
  49. data/_includes/customCode.html +1 -1
  50. data/_includes/customScripts.html +1 -1
  51. data/_includes/customblog/pageRelatedPosts.html +87 -87
  52. data/_includes/customblog/recentposts.html +67 -67
  53. data/_includes/customblog/relatedBlogs.html +86 -86
  54. data/_includes/customblog/relatedposts.html +201 -201
  55. data/_includes/dropdown/langdropdown.html +32 -32
  56. data/_includes/feature.html +39 -39
  57. data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
  58. data/_includes/footer/index.html +537 -537
  59. data/_includes/google-analytics.html +32 -32
  60. data/_includes/head/index.html +627 -627
  61. data/_includes/header/blogHeader.html +34 -34
  62. data/_includes/header/index.html +152 -152
  63. data/_includes/infographics/infographics.html +244 -244
  64. data/_includes/internationalization-section.html +64 -47
  65. data/_includes/paginationBlogPage.html +70 -70
  66. data/_includes/postbox.html +65 -65
  67. data/_includes/script.html +493 -493
  68. data/_includes/section/count.html +32 -32
  69. data/_includes/section/recent_posts.html +94 -94
  70. data/_includes/section/related_categories_post.html +196 -196
  71. data/_includes/share/socialshare.html +21 -21
  72. data/_includes/userTracking.html +14 -14
  73. data/_layouts/aboutUs.html +175 -175
  74. data/_layouts/allAuthors.html +131 -131
  75. data/_layouts/appscms-about.html +163 -163
  76. data/_layouts/appscms-audio.html +33 -33
  77. data/_layouts/appscms-author.html +436 -436
  78. data/_layouts/appscms-authors.html +145 -145
  79. data/_layouts/appscms-batch.html +141 -141
  80. data/_layouts/appscms-calculator.html +93 -93
  81. data/_layouts/appscms-categories.html +26 -26
  82. data/_layouts/appscms-contact.html +132 -132
  83. data/_layouts/appscms-disclaimer.html +124 -124
  84. data/_layouts/appscms-download.html +289 -289
  85. data/_layouts/appscms-feature-result.html +96 -96
  86. data/_layouts/appscms-help.html +25 -25
  87. data/_layouts/appscms-imagekit.html +96 -96
  88. data/_layouts/appscms-post.html +243 -243
  89. data/_layouts/appscms-privacy-policy.html +781 -781
  90. data/_layouts/appscms-terms-and-conditions.html +646 -646
  91. data/_layouts/appscms-video.html +33 -33
  92. data/_layouts/audio.html +33 -33
  93. data/_layouts/author.html +409 -409
  94. data/_layouts/batch.html +177 -177
  95. data/_layouts/blog-1.html +116 -116
  96. data/_layouts/blog.html +131 -131
  97. data/_layouts/calculator.html +99 -99
  98. data/_layouts/contenttool-feature.html +42 -42
  99. data/_layouts/contenttool-home.html +53 -53
  100. data/_layouts/devtool-blog.html +132 -132
  101. data/_layouts/devtool-feature.html +54 -54
  102. data/_layouts/devtool-home.html +53 -53
  103. data/_layouts/devtools.html +57 -57
  104. data/_layouts/feature-1.html +285 -285
  105. data/_layouts/feature.html +351 -351
  106. data/_layouts/featureResultPage.html +82 -82
  107. data/_layouts/frame.html +222 -222
  108. data/_layouts/home-1.html +186 -186
  109. data/_layouts/home.html +375 -375
  110. data/_layouts/homeResultPage.html +32 -32
  111. data/_layouts/imagekit.html +308 -308
  112. data/_layouts/photo-effects-home.html +190 -190
  113. data/_layouts/post.html +233 -233
  114. data/assets/.DS_Store +0 -0
  115. data/assets/app.js +75 -75
  116. data/assets/css/appscms-blog.css +505 -505
  117. data/assets/css/appscms-contenttool.css +1384 -1384
  118. data/assets/css/appscms-home.css +5 -5
  119. data/assets/css/appscms-imagekit.css +855 -855
  120. data/assets/css/appscms-theme.css +11 -251
  121. data/assets/css/appscms-variables.css +24 -20
  122. data/assets/css/blog.css +510 -510
  123. data/assets/css/calculators.css +46 -46
  124. data/assets/css/common.css +944 -944
  125. data/assets/css/devtool-main.css +1350 -1350
  126. data/assets/css/devtools.css +105 -105
  127. data/assets/css/feature-1.css +293 -293
  128. data/assets/css/home-1.css +188 -188
  129. data/assets/css/imagekit copy.css +848 -848
  130. data/assets/css/imagekit.css +848 -848
  131. data/assets/css/tools.css +1846 -1846
  132. data/assets/images/close-button.svg +31 -31
  133. data/assets/images/digipaint.svg +6 -6
  134. data/assets/images/iconn.svg +12 -12
  135. data/assets/images/logo.svg +2 -2
  136. data/assets/images/manthink.svg +3552 -3552
  137. data/assets/images/search-icon.svg +2 -2
  138. data/assets/js/appscms-infographics.js +49 -49
  139. data/assets/js/batch.js +219 -219
  140. data/assets/js/devtools.js +81 -81
  141. data/assets/js/sharePage.js +65 -65
  142. data/assets/js/usageTracking.js +143 -143
  143. data/assets/js/usageTrackingEvents.js +6 -6
  144. data/assets/js/webvitals.js +4 -4
  145. metadata +5 -3
@@ -1,87 +1,87 @@
1
- <section class="related-posts-section">
2
- <div class="container">
3
-
4
- <div class="relatedPosts">
5
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
6
-
7
- <div class="row">
8
- <div class="col-md-9 mx-auto">
9
- {%- endif -%}
10
- <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
-
13
- </div>
14
- </div>
15
- {%- endif -%}
16
- {% assign file = page.fileName %}
17
- {% assign lang = page.lang %}
18
- {% assign folder = page.folderName %}
19
- {% assign homeData = site.data[folder][lang][file] %}
20
-
21
-
22
-
23
- <div class="row">
24
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
25
-
26
-
27
- <div class="col-md-9 mx-auto">
28
- <div class="row">
29
- {%- endif -%}
30
- {% for entry in site.data.blog.relatedblogs %}
31
- {% if entry.path == blogPostPath %}
32
-
33
- {% for post in entry.relatedBlogs %}
34
-
35
- {%- include authors/authors.html-%}
36
- <div class="
37
- {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
38
- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
39
- <div class=" card h-100">
40
- <a href="/blog/{{ post.metadata.url }}">
41
- <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto"
42
- width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
43
- -%}>
44
- </a>
45
- <div class="card-body">
46
- <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
47
- <h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
48
- </a>
49
- </div>
50
- <div class="card-footer">
51
- <div class="wrapfooter">
52
- {% if post.metadata.author %}
53
- <span class="meta-footer-thumb">
54
- <img class="author-thumb" loading="lazy" src="{{ image }}"
55
- alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
56
- -%}>
57
- </span>
58
- {% endif %}
59
-
60
- <span class="author-meta">
61
- <span class="post-name">
62
- <a target="_blank" href="/blog/">{{authorName}}</a>
63
- </span><br>
64
- <span class="post-date">{{post.metadata.date | date_to_string }}</span>
65
- </span>
66
- <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}"
67
- title="Read Story">Read
68
- More</a></span>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
- {% endfor %}
74
-
75
- {% endif %}
76
- {% endfor %}
77
-
78
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
79
-
80
-
81
- </div>
82
- </div>
83
- {%- endif -%}
84
- </div>
85
- </div>
86
- </div>
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+
4
+ <div class="relatedPosts">
5
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
6
+
7
+ <div class="row">
8
+ <div class="col-md-9 mx-auto">
9
+ {%- endif -%}
10
+ <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
+
13
+ </div>
14
+ </div>
15
+ {%- endif -%}
16
+ {% assign file = page.fileName %}
17
+ {% assign lang = page.lang %}
18
+ {% assign folder = page.folderName %}
19
+ {% assign homeData = site.data[folder][lang][file] %}
20
+
21
+
22
+
23
+ <div class="row">
24
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
25
+
26
+
27
+ <div class="col-md-9 mx-auto">
28
+ <div class="row">
29
+ {%- endif -%}
30
+ {% for entry in site.data.blog.relatedblogs %}
31
+ {% if entry.path == blogPostPath %}
32
+
33
+ {% for post in entry.relatedBlogs %}
34
+
35
+ {%- include authors/authors.html-%}
36
+ <div class="
37
+ {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
38
+ else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
39
+ <div class=" card h-100">
40
+ <a href="/blog/{{ post.metadata.url }}">
41
+ <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto"
42
+ width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
43
+ -%}>
44
+ </a>
45
+ <div class="card-body">
46
+ <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
47
+ <h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
48
+ </a>
49
+ </div>
50
+ <div class="card-footer">
51
+ <div class="wrapfooter">
52
+ {% if post.metadata.author %}
53
+ <span class="meta-footer-thumb">
54
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
55
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
56
+ -%}>
57
+ </span>
58
+ {% endif %}
59
+
60
+ <span class="author-meta">
61
+ <span class="post-name">
62
+ <a target="_blank" href="/blog/">{{authorName}}</a>
63
+ </span><br>
64
+ <span class="post-date">{{post.metadata.date | date_to_string }}</span>
65
+ </span>
66
+ <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}"
67
+ title="Read Story">Read
68
+ More</a></span>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ {% endfor %}
74
+
75
+ {% endif %}
76
+ {% endfor %}
77
+
78
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
79
+
80
+
81
+ </div>
82
+ </div>
83
+ {%- endif -%}
84
+ </div>
85
+ </div>
86
+ </div>
87
87
  </section>
@@ -1,202 +1,202 @@
1
- <section class="related-posts-section">
2
- <div class="container">
3
-
4
- <div class="relatedPosts">
5
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
6
-
7
- <div class="row">
8
- <div class="col-md-9 mx-auto">
9
- {%- endif -%}
10
- <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
-
13
- </div>
14
- </div>
15
- {%- endif -%}
16
-
17
- {% assign blogData= site.data.blog.blog %}
18
-
19
-
20
- {% assign maxRelated = 6 %}
21
- {% assign minCommonTags = 1 %}
22
- {% assign maxRelatedCounter = 0 %}
23
- {% assign file = page.fileName %}
24
- {% assign lang = "en" %}
25
- {% assign folder = page.folderName %}
26
- {%- if site.data[folder][lang][file].categories -%}
27
- {% assign categories= site.data[folder][lang][file].categories %}
28
- {%- else -%}
29
- {% assign categories= page.categories %}
30
- {%- endif -%}
31
- {%- if site.data[folder][lang][file].tags -%}
32
- {% assign tags= site.data[folder][lang][file].tags %}
33
- {%- else -%}
34
- {% assign tags= page.tags %}
35
- {%- endif -%}
36
- <div class="row">
37
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
38
-
39
-
40
- <div class="col-md-9 mx-auto">
41
- <div class="row">
42
- {%- endif -%}
43
-
44
- {% for post in blogData %}
45
- {% assign sameTagCount = 0 %}
46
- {% assign commonTags = '' %}
47
-
48
-
49
- {%- if categories-%}
50
- {% for category in post.categories %}
51
- {% if post.url != page.url %}
52
- {% if categories contains category %}
53
- {% assign sameTagCount = sameTagCount | plus: 1 %}
54
- {% endif %}
55
- {% endif %}
56
- {% endfor %}
57
- {%- endif -%}
58
-
59
- {%- if tags -%}
60
- {% for tag in post.tags %}
61
- {% if post.url != page.url %}
62
- {% if tags contains tag %}
63
- {% assign sameTagCount = sameTagCount | plus: 1 %}
64
- {% endif %}
65
- {%- endif -%}
66
- {% endfor %}
67
- {%- endif -%}
68
-
69
-
70
- {% if sameTagCount >= minCommonTags %}
71
- {%- include authors/authors.html-%}
72
- <div class="
73
- {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
74
- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
75
- <div class=" card h-100">
76
- <a href="{{ post.url }}">
77
- <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
78
- width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
79
- -%}>
80
- </a>
81
- <div class="card-body">
82
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
83
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
84
- </a>
85
- </div>
86
- <div class="card-footer">
87
- <div class="wrapfooter">
88
- {% if post.author %}
89
- <span class="meta-footer-thumb">
90
- <img class="author-thumb" loading="lazy" src="{{ image }}"
91
- alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
92
- -%}>
93
- </span>
94
- {% endif %}
95
-
96
- <span class="author-meta">
97
- <span class="post-name">
98
- <a target="_blank" href="/blog/">{{authorName}}</a>
99
- </span><br>
100
- <span class="post-date">{{post.date | date_to_string }}</span>
101
- </span>
102
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
103
- title="Read Story">Read
104
- More</a></span>
105
- </div>
106
- </div>
107
- </div>
108
- </div>
109
- {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
110
- {% if maxRelatedCounter >= maxRelated %}
111
- {% break %}
112
- {% endif %}
113
- {%- else -%}
114
- {%- endif -%}
115
- {% endfor %}
116
- {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
117
-
118
-
119
-
120
-
121
- {%- if remamingPosts > 0 -%}
122
- {% assign posts = blogData | where_exp:"post","post.url != page.url" %}
123
- {% for post in posts %}
124
- {%- if remamingPosts > 0 -%}
125
- {%- assign tagData = true -%}
126
- {%- assign catData = true -%}
127
- {%- if tags -%}
128
- {% for tag in post.tags %}
129
- {% if post.url != page.url %}
130
- {% if tags contains tag %}
131
- {%- assign tagData = false -%}
132
- {%- break -%}
133
- {% endif %}
134
- {%- endif -%}
135
- {% endfor %}
136
- {%- endif -%}
137
- {%- if categories-%}
138
- {%- if tagData == false -%}
139
- {%- continue -%}
140
- {%- else -%}
141
- {% for category in post.categories %}
142
- {% if post.url != page.url %}
143
- {% if categories contains category %}
144
- {%- assign catData = false -%}
145
- {%- break -%}
146
- {% endif %}
147
- {% endif %}
148
- {% endfor %}
149
- {%- endif -%}
150
- {%- if catData == false -%}
151
- {%- continue -%}
152
- {%- endif -%}
153
- {%- assign remamingPosts = remamingPosts | minus: 1 -%}
154
- {%- include authors/authors.html-%}
155
- <div class="
156
- {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
157
- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
158
- <div class=" card h-100">
159
- <a href="{{ post.url }}">
160
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
161
- alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
162
- </a>
163
- <div class="card-body">
164
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
165
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
166
- </a>
167
- </div>
168
- <div class="card-footer">
169
- <div class="wrapfooter">
170
- {% if post.author %}
171
- <span class="meta-footer-thumb">
172
- <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
173
- if site.crossorigin -%} crossorigin {%- endif -%}>
174
- </span>
175
- {% endif %}
176
- <span class="author-meta">
177
- <span class="post-name">
178
- <a target="_blank" href="/blog/">{{authorName}}</a>
179
- </span><br>
180
- <span class="post-date">{{post.date | date_to_string }}</span>
181
- </span>
182
-
183
- </div>
184
- </div>
185
- </div>
186
- </div>
187
- {%- endif -%}
188
- {%- endif -%}
189
-
190
- {% endfor %}
191
- {%- endif -%}
192
-
193
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
194
-
195
-
196
- </div>
197
- </div>
198
- {%- endif -%}
199
- </div>
200
- </div>
201
- </div>
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+
4
+ <div class="relatedPosts">
5
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
6
+
7
+ <div class="row">
8
+ <div class="col-md-9 mx-auto">
9
+ {%- endif -%}
10
+ <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
+
13
+ </div>
14
+ </div>
15
+ {%- endif -%}
16
+
17
+ {% assign blogData= site.data.blog.blog %}
18
+
19
+
20
+ {% assign maxRelated = 6 %}
21
+ {% assign minCommonTags = 1 %}
22
+ {% assign maxRelatedCounter = 0 %}
23
+ {% assign file = page.fileName %}
24
+ {% assign lang = "en" %}
25
+ {% assign folder = page.folderName %}
26
+ {%- if site.data[folder][lang][file].categories -%}
27
+ {% assign categories= site.data[folder][lang][file].categories %}
28
+ {%- else -%}
29
+ {% assign categories= page.categories %}
30
+ {%- endif -%}
31
+ {%- if site.data[folder][lang][file].tags -%}
32
+ {% assign tags= site.data[folder][lang][file].tags %}
33
+ {%- else -%}
34
+ {% assign tags= page.tags %}
35
+ {%- endif -%}
36
+ <div class="row">
37
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
38
+
39
+
40
+ <div class="col-md-9 mx-auto">
41
+ <div class="row">
42
+ {%- endif -%}
43
+
44
+ {% for post in blogData %}
45
+ {% assign sameTagCount = 0 %}
46
+ {% assign commonTags = '' %}
47
+
48
+
49
+ {%- if categories-%}
50
+ {% for category in post.categories %}
51
+ {% if post.url != page.url %}
52
+ {% if categories contains category %}
53
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
54
+ {% endif %}
55
+ {% endif %}
56
+ {% endfor %}
57
+ {%- endif -%}
58
+
59
+ {%- if tags -%}
60
+ {% for tag in post.tags %}
61
+ {% if post.url != page.url %}
62
+ {% if tags contains tag %}
63
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
64
+ {% endif %}
65
+ {%- endif -%}
66
+ {% endfor %}
67
+ {%- endif -%}
68
+
69
+
70
+ {% if sameTagCount >= minCommonTags %}
71
+ {%- include authors/authors.html-%}
72
+ <div class="
73
+ {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
74
+ else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
75
+ <div class=" card h-100">
76
+ <a href="{{ post.url }}">
77
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
78
+ width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
79
+ -%}>
80
+ </a>
81
+ <div class="card-body">
82
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
83
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
84
+ </a>
85
+ </div>
86
+ <div class="card-footer">
87
+ <div class="wrapfooter">
88
+ {% if post.author %}
89
+ <span class="meta-footer-thumb">
90
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
91
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
92
+ -%}>
93
+ </span>
94
+ {% endif %}
95
+
96
+ <span class="author-meta">
97
+ <span class="post-name">
98
+ <a target="_blank" href="/blog/">{{authorName}}</a>
99
+ </span><br>
100
+ <span class="post-date">{{post.date | date_to_string }}</span>
101
+ </span>
102
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
103
+ title="Read Story">Read
104
+ More</a></span>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
110
+ {% if maxRelatedCounter >= maxRelated %}
111
+ {% break %}
112
+ {% endif %}
113
+ {%- else -%}
114
+ {%- endif -%}
115
+ {% endfor %}
116
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
117
+
118
+
119
+
120
+
121
+ {%- if remamingPosts > 0 -%}
122
+ {% assign posts = blogData | where_exp:"post","post.url != page.url" %}
123
+ {% for post in posts %}
124
+ {%- if remamingPosts > 0 -%}
125
+ {%- assign tagData = true -%}
126
+ {%- assign catData = true -%}
127
+ {%- if tags -%}
128
+ {% for tag in post.tags %}
129
+ {% if post.url != page.url %}
130
+ {% if tags contains tag %}
131
+ {%- assign tagData = false -%}
132
+ {%- break -%}
133
+ {% endif %}
134
+ {%- endif -%}
135
+ {% endfor %}
136
+ {%- endif -%}
137
+ {%- if categories-%}
138
+ {%- if tagData == false -%}
139
+ {%- continue -%}
140
+ {%- else -%}
141
+ {% for category in post.categories %}
142
+ {% if post.url != page.url %}
143
+ {% if categories contains category %}
144
+ {%- assign catData = false -%}
145
+ {%- break -%}
146
+ {% endif %}
147
+ {% endif %}
148
+ {% endfor %}
149
+ {%- endif -%}
150
+ {%- if catData == false -%}
151
+ {%- continue -%}
152
+ {%- endif -%}
153
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
154
+ {%- include authors/authors.html-%}
155
+ <div class="
156
+ {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
157
+ else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
158
+ <div class=" card h-100">
159
+ <a href="{{ post.url }}">
160
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
161
+ alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
162
+ </a>
163
+ <div class="card-body">
164
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
165
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
166
+ </a>
167
+ </div>
168
+ <div class="card-footer">
169
+ <div class="wrapfooter">
170
+ {% if post.author %}
171
+ <span class="meta-footer-thumb">
172
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
173
+ if site.crossorigin -%} crossorigin {%- endif -%}>
174
+ </span>
175
+ {% endif %}
176
+ <span class="author-meta">
177
+ <span class="post-name">
178
+ <a target="_blank" href="/blog/">{{authorName}}</a>
179
+ </span><br>
180
+ <span class="post-date">{{post.date | date_to_string }}</span>
181
+ </span>
182
+
183
+ </div>
184
+ </div>
185
+ </div>
186
+ </div>
187
+ {%- endif -%}
188
+ {%- endif -%}
189
+
190
+ {% endfor %}
191
+ {%- endif -%}
192
+
193
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
194
+
195
+
196
+ </div>
197
+ </div>
198
+ {%- endif -%}
199
+ </div>
200
+ </div>
201
+ </div>
202
202
  </section>
@@ -1,32 +1,32 @@
1
- {% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
2
- = page.folderName %} {% assign langData = site.data[folder][lang][file] %} {%-
3
- assign langsupport = page.langsupport -%} {%- assign variable =
4
- site.data.languagesupport[langsupport]-%} {%- if variable.langsupport -%}
5
- <div class="lang-dropdown">
6
- <button
7
- class="btn btn-light dropdown-toggle lang-dropdown-btn"
8
- type="button"
9
- id="dropdownMenu2"
10
- data-toggle="dropdown"
11
- aria-expanded="false"
12
- >
13
- {{langData.Language}}
14
- </button>
15
- <ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
16
- {%- for item in variable.langsupport -%} {%- if langData.Language ==
17
- item.lang -%}
18
- <a
19
- class="lang-dropdown-item py-1"
20
- style="background: rgba(149, 148, 151, 0.397)"
21
- class=".lang-dropdown-item"
22
- href="{{item.permalink}}"
23
- >{{item.lang}}</a
24
- >
25
- {%- else -%}
26
- <a class="lang-dropdown-item py-1" href="{{item.permalink}}"
27
- >{{item.lang}}</a
28
- >
29
- {%- endif -%} {%- endfor -%}
30
- </ul>
31
- </div>
32
- {%- endif -%}
1
+ {% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
2
+ = page.folderName %} {% assign langData = site.data[folder][lang][file] %} {%-
3
+ assign langsupport = page.langsupport -%} {%- assign variable =
4
+ site.data.languagesupport[langsupport]-%} {%- if variable.langsupport -%}
5
+ <div class="lang-dropdown">
6
+ <button
7
+ class="btn btn-light dropdown-toggle lang-dropdown-btn"
8
+ type="button"
9
+ id="dropdownMenu2"
10
+ data-toggle="dropdown"
11
+ aria-expanded="false"
12
+ >
13
+ {{langData.Language}}
14
+ </button>
15
+ <ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
16
+ {%- for item in variable.langsupport -%} {%- if langData.Language ==
17
+ item.lang -%}
18
+ <a
19
+ class="lang-dropdown-item py-1"
20
+ style="background: rgba(149, 148, 151, 0.397)"
21
+ class=".lang-dropdown-item"
22
+ href="{{item.permalink}}"
23
+ >{{item.lang}}</a
24
+ >
25
+ {%- else -%}
26
+ <a class="lang-dropdown-item py-1" href="{{item.permalink}}"
27
+ >{{item.lang}}</a
28
+ >
29
+ {%- endif -%} {%- endfor -%}
30
+ </ul>
31
+ </div>
32
+ {%- endif -%}