appscms-tools-theme 4.6.1 → 4.6.2

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.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/_data/about/en/about.json +16 -16
  3. data/_data/blog/nav.json +14 -14
  4. data/_data/blog/relatedblogs.json +2816 -1
  5. data/_data/feature/en/batch-conversion.json +192 -192
  6. data/_data/feature/en/compress-pdf.json +305 -305
  7. data/_data/feature/en/devtools.json +321 -321
  8. data/_data/feature/en/face-detection.json +156 -156
  9. data/_data/feature/en/split-pdf.json +221 -221
  10. data/_data/feature/en/theframe.json +160 -160
  11. data/_data/footer/en/data.json +2 -2
  12. data/_data/header/en/data.json +412 -412
  13. data/_data/home/en/en.json +324 -324
  14. data/_data/home/en/posters.json +322 -322
  15. data/_includes/appscms/customblog/contenttool-recent-posts.html +94 -94
  16. data/_includes/appscms/customblog/pageRelatedPosts.html +68 -62
  17. data/_includes/appscms/customblog/recentposts.html +67 -67
  18. data/_includes/appscms/customblog/relatedBlogs.html +82 -82
  19. data/_includes/appscms/customblog/relatedposts.html +193 -193
  20. data/_includes/appscms/extras/appscms-postbox.html +57 -57
  21. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +85 -85
  22. data/_includes/appscms/head/bloghead.html +128 -128
  23. data/_includes/appscms/headings/contenttool-headings.html +33 -33
  24. data/_includes/appscms/headings/devtool-headings.html +38 -38
  25. data/_includes/appscms/home/contenttool-feature-boxes.html +19 -19
  26. data/_includes/appscms/home/devtool-feature-boxes.html +70 -70
  27. data/_includes/appscms/infographics/infographics.html +166 -166
  28. data/_includes/appscms/loaders/loader.html +4 -4
  29. data/_includes/appscms/navbars/devtool-navbar.html +50 -50
  30. data/_includes/appscms/navbars/devtool-toolbar.html +100 -100
  31. data/_includes/appscms/recent-posts/recent_posts.html +90 -90
  32. data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
  33. data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
  34. data/_includes/appscms/usp/usp.html +90 -90
  35. data/_includes/author_bio.html +41 -41
  36. data/_includes/authorpagehead/index.html +47 -47
  37. data/_includes/authors/authors.html +39 -39
  38. data/_includes/batch-conversion.html +141 -141
  39. data/_includes/bookmark.html +6 -6
  40. data/_includes/cssfile/links.html +54 -54
  41. data/_includes/custom-head.html +138 -138
  42. data/_includes/customCode.html +1 -1
  43. data/_includes/customScripts.html +1 -1
  44. data/_includes/customblog/pageRelatedPosts.html +87 -87
  45. data/_includes/customblog/recentposts.html +67 -67
  46. data/_includes/customblog/relatedBlogs.html +86 -86
  47. data/_includes/customblog/relatedposts.html +201 -201
  48. data/_includes/dropdown/langdropdown.html +32 -32
  49. data/_includes/feature.html +39 -39
  50. data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
  51. data/_includes/footer/index.html +537 -537
  52. data/_includes/google-analytics.html +32 -32
  53. data/_includes/head/index.html +623 -623
  54. data/_includes/header/blogHeader.html +34 -34
  55. data/_includes/header/index.html +192 -192
  56. data/_includes/infographics/infographics.html +241 -241
  57. data/_includes/paginationBlogPage.html +70 -70
  58. data/_includes/postbox.html +65 -65
  59. data/_includes/script.html +493 -493
  60. data/_includes/section/count.html +32 -32
  61. data/_includes/section/recent_posts.html +94 -94
  62. data/_includes/section/related_categories_post.html +196 -196
  63. data/_includes/share/socialshare.html +21 -21
  64. data/_includes/userTracking.html +14 -14
  65. data/_layouts/aboutUs.html +175 -175
  66. data/_layouts/allAuthors.html +131 -131
  67. data/_layouts/appscms-about.html +163 -163
  68. data/_layouts/appscms-audio.html +33 -33
  69. data/_layouts/appscms-author.html +436 -436
  70. data/_layouts/appscms-authors.html +145 -145
  71. data/_layouts/appscms-batch.html +141 -141
  72. data/_layouts/appscms-calculator.html +93 -93
  73. data/_layouts/appscms-categories.html +26 -26
  74. data/_layouts/appscms-contact.html +132 -132
  75. data/_layouts/appscms-disclaimer.html +124 -124
  76. data/_layouts/appscms-download.html +289 -289
  77. data/_layouts/appscms-feature-result.html +96 -96
  78. data/_layouts/appscms-help.html +25 -25
  79. data/_layouts/appscms-imagekit.html +96 -96
  80. data/_layouts/appscms-post.html +243 -243
  81. data/_layouts/appscms-privacy-policy.html +781 -781
  82. data/_layouts/appscms-terms-and-conditions.html +646 -646
  83. data/_layouts/appscms-video.html +33 -33
  84. data/_layouts/audio.html +33 -33
  85. data/_layouts/author.html +409 -409
  86. data/_layouts/batch.html +177 -177
  87. data/_layouts/blog-1.html +116 -116
  88. data/_layouts/blog.html +131 -131
  89. data/_layouts/calculator.html +99 -99
  90. data/_layouts/contenttool-feature.html +45 -45
  91. data/_layouts/contenttool-home.html +53 -53
  92. data/_layouts/devtool-blog.html +132 -132
  93. data/_layouts/devtool-feature.html +54 -54
  94. data/_layouts/devtool-home.html +53 -53
  95. data/_layouts/devtools.html +57 -57
  96. data/_layouts/feature-1.html +406 -406
  97. data/_layouts/feature.html +351 -351
  98. data/_layouts/featureResultPage.html +82 -82
  99. data/_layouts/frame.html +222 -222
  100. data/_layouts/home.html +281 -281
  101. data/_layouts/homeResultPage.html +32 -32
  102. data/_layouts/imagekit.html +308 -308
  103. data/_layouts/photo-effects-home.html +190 -190
  104. data/_layouts/post.html +233 -233
  105. data/assets/app.js +75 -75
  106. data/assets/css/appscms-blog.css +505 -505
  107. data/assets/css/appscms-contenttool.css +1384 -1384
  108. data/assets/css/appscms-home.css +5 -5
  109. data/assets/css/appscms-imagekit.css +855 -855
  110. data/assets/css/appscms-variables.css +19 -19
  111. data/assets/css/blog.css +510 -510
  112. data/assets/css/calculators.css +46 -46
  113. data/assets/css/devtool-main.css +1350 -1350
  114. data/assets/css/devtools.css +105 -105
  115. data/assets/css/feature-1.css +293 -293
  116. data/assets/css/imagekit copy.css +848 -848
  117. data/assets/css/imagekit.css +848 -848
  118. data/assets/css/tools.css +1847 -1847
  119. data/assets/images/close-button.svg +31 -31
  120. data/assets/images/digipaint.svg +6 -6
  121. data/assets/images/logo.svg +2 -2
  122. data/assets/images/manthink.svg +3552 -3552
  123. data/assets/images/search-icon.svg +2 -2
  124. data/assets/js/batch.js +219 -219
  125. data/assets/js/devtools.js +81 -81
  126. data/assets/js/sharePage.js +65 -65
  127. data/assets/js/usageTracking.js +143 -143
  128. data/assets/js/usageTrackingEvents.js +6 -6
  129. data/assets/js/webvitals.js +4 -4
  130. metadata +3 -3
@@ -1,139 +1,139 @@
1
- <head>
2
- {%- assign pagedescriptionlength = page.description | split: ' ' -%}
3
- {%- if pagedescriptionlength.size > 5 -%}
4
- {%- assign pagedescriptionlength = page.description | split: ' ' -%}
5
- {%- assign pagedescription = page.description -%}
6
- {%- endif -%}
7
- {% assign favicon = site.favicon %} {%- assign seo_description =
8
- pagedescription | default: page.content | markdownify | strip_html |
9
- truncatewords: 50 | default: page.excerpt | default: site.description -%} {%-
10
- if seo_description -%} {%- assign seo_description = seo_description |
11
- markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} {%-
12
- if page.date -%} {%- assign og_type = "article" -%} {%- else -%} {%- assign
13
- og_type = "website" -%} {%- endif -%}
14
- {%- assign title = page.title | split: ' ' -%}
15
- {%- assign newtitle = '' %}
16
- {% for operation in title %}
17
- {%- if forloop.first -%}
18
- {% assign word = operation | capitalize %}
19
- {% assign newtitle = newtitle | append : word %}
20
- {% assign newtitle = newtitle | append : " " %}
21
- {%- else -%}
22
- {% assign word = operation %}
23
- {%- if forloop.last -%}
24
- {% assign newtitle = newtitle | append : word %}
25
- {%- else -%}
26
- {% assign newtitle = newtitle | append : word %}
27
- {% assign newtitle = newtitle | append : " " %}
28
- {%- endif -%}
29
- {%- endif -%}
30
- {% endfor %}
31
- {%- assign description = description | split: ' ' -%}
32
- {% assign pagedescription = '' %}
33
- {% for operation in description %}
34
- {%- if forloop.first -%}
35
- {% assign word = operation | capitalize %}
36
- {% assign pagedescription = pagedescription | append : word %}
37
- {% assign pagedescription = pagedescription | append : " " %}
38
- {%- else -%}
39
- {% assign word = operation %}
40
- {%- if forloop.last -%}
41
- {% assign pagedescription = pagedescription | append : word %}
42
- {%- else -%}
43
- {% assign pagedescription = pagedescription | append : word %}
44
- {% assign pagedescription = pagedescription | append : " " %}
45
- {%- endif -%}
46
- {%- endif -%}
47
- {% endfor %}
48
- {%- assign title = newtitle -%}
49
- {%- assign description = pagedescription-%}
50
-
51
-
52
- <meta charset="UTF-8" />
53
- <link rel="shortcut icon" href="{{favicon}}" />
54
- <link rel="canonical" href="{{site.url | append: page.url}}" />
55
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
56
- <meta name="keywords" content="{{site.keyboard}}" />
57
- <meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
58
- <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
59
- <meta property="og:title" content="{{ title | default: site.title }}" />
60
- <meta property="og:type" content="{{og_type}}" />
61
- <meta property="og:locale" content="en_US" />
62
- <meta property="og:site_name" content="{{site.name}}" />
63
- <meta property="og:url" content="{{site.url | append: page.url}}" />
64
- <meta name="author" content="{{ site.author_name }}" />
65
- <title>{{title}}</title>
66
-
67
- <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
68
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
69
- site.crossorigin -%} crossorigin {%- endif -%} />
70
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if
71
- site.crossorigin -%} crossorigin {%- endif -%} />
72
- {% include adsense/adsense.html %}
73
- <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
74
- endif -%} />
75
-
76
- {%- if page.layout == "blog-1" -%}
77
- <link rel="stylesheet" href="{{'/assets/css/blog-1.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
78
- endif -%} />
79
- {%- endif -%}
80
-
81
- {%- include google-analytics.html -%}
82
- {% if jekyll.environment == 'production' and site.monumetricId %}
83
- <script>
84
- const autoLoadDuration = 5; //In Seconds
85
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
86
-
87
- const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
88
-
89
- eventList.forEach(function (event) {
90
- window.addEventListener(event, triggerScripts, { passive: true })
91
- });
92
-
93
- function triggerScripts() {
94
- runScripts();
95
- clearTimeout(autoLoadTimeout);
96
- eventList.forEach(function (event) {
97
- window.removeEventListener(event, triggerScripts, { passive: true });
98
- });
99
- }
100
-
101
- function runScripts() {
102
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
103
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
104
- });
105
- }
106
- </script>
107
- <script type="text/javascript" defer delay="{{site.monumetricId}}" data-cfasync="false"></script>
108
- {% endif %}
109
-
110
- {% if jekyll.environment == 'development' and site.monumetricId %}
111
- <script>
112
- const autoLoadDuration = 5; //In Seconds
113
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
114
-
115
- const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
116
-
117
- eventList.forEach(function (event) {
118
- window.addEventListener(event, triggerScripts, { passive: true })
119
- });
120
-
121
- function triggerScripts() {
122
- runScripts();
123
- clearTimeout(autoLoadTimeout);
124
- eventList.forEach(function (event) {
125
- window.removeEventListener(event, triggerScripts, { passive: true });
126
- });
127
- }
128
-
129
- function runScripts() {
130
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
131
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
132
- });
133
- }
134
- </script>
135
- <script type="text/javascript" delay="{{site.monumetricId}}"></script>
136
-
137
- {% endif %}
138
- </head>
1
+ <head>
2
+ {%- assign pagedescriptionlength = page.description | split: ' ' -%}
3
+ {%- if pagedescriptionlength.size > 5 -%}
4
+ {%- assign pagedescriptionlength = page.description | split: ' ' -%}
5
+ {%- assign pagedescription = page.description -%}
6
+ {%- endif -%}
7
+ {% assign favicon = site.favicon %} {%- assign seo_description =
8
+ pagedescription | default: page.content | markdownify | strip_html |
9
+ truncatewords: 50 | default: page.excerpt | default: site.description -%} {%-
10
+ if seo_description -%} {%- assign seo_description = seo_description |
11
+ markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} {%-
12
+ if page.date -%} {%- assign og_type = "article" -%} {%- else -%} {%- assign
13
+ og_type = "website" -%} {%- endif -%}
14
+ {%- assign title = page.title | split: ' ' -%}
15
+ {%- assign newtitle = '' %}
16
+ {% for operation in title %}
17
+ {%- if forloop.first -%}
18
+ {% assign word = operation | capitalize %}
19
+ {% assign newtitle = newtitle | append : word %}
20
+ {% assign newtitle = newtitle | append : " " %}
21
+ {%- else -%}
22
+ {% assign word = operation %}
23
+ {%- if forloop.last -%}
24
+ {% assign newtitle = newtitle | append : word %}
25
+ {%- else -%}
26
+ {% assign newtitle = newtitle | append : word %}
27
+ {% assign newtitle = newtitle | append : " " %}
28
+ {%- endif -%}
29
+ {%- endif -%}
30
+ {% endfor %}
31
+ {%- assign description = description | split: ' ' -%}
32
+ {% assign pagedescription = '' %}
33
+ {% for operation in description %}
34
+ {%- if forloop.first -%}
35
+ {% assign word = operation | capitalize %}
36
+ {% assign pagedescription = pagedescription | append : word %}
37
+ {% assign pagedescription = pagedescription | append : " " %}
38
+ {%- else -%}
39
+ {% assign word = operation %}
40
+ {%- if forloop.last -%}
41
+ {% assign pagedescription = pagedescription | append : word %}
42
+ {%- else -%}
43
+ {% assign pagedescription = pagedescription | append : word %}
44
+ {% assign pagedescription = pagedescription | append : " " %}
45
+ {%- endif -%}
46
+ {%- endif -%}
47
+ {% endfor %}
48
+ {%- assign title = newtitle -%}
49
+ {%- assign description = pagedescription-%}
50
+
51
+
52
+ <meta charset="UTF-8" />
53
+ <link rel="shortcut icon" href="{{favicon}}" />
54
+ <link rel="canonical" href="{{site.url | append: page.url}}" />
55
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
56
+ <meta name="keywords" content="{{site.keyboard}}" />
57
+ <meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
58
+ <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
59
+ <meta property="og:title" content="{{ title | default: site.title }}" />
60
+ <meta property="og:type" content="{{og_type}}" />
61
+ <meta property="og:locale" content="en_US" />
62
+ <meta property="og:site_name" content="{{site.name}}" />
63
+ <meta property="og:url" content="{{site.url | append: page.url}}" />
64
+ <meta name="author" content="{{ site.author_name }}" />
65
+ <title>{{title}}</title>
66
+
67
+ <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
68
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
69
+ site.crossorigin -%} crossorigin {%- endif -%} />
70
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if
71
+ site.crossorigin -%} crossorigin {%- endif -%} />
72
+ {% include adsense/adsense.html %}
73
+ <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
74
+ endif -%} />
75
+
76
+ {%- if page.layout == "blog-1" -%}
77
+ <link rel="stylesheet" href="{{'/assets/css/blog-1.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
78
+ endif -%} />
79
+ {%- endif -%}
80
+
81
+ {%- include google-analytics.html -%}
82
+ {% if jekyll.environment == 'production' and site.monumetricId %}
83
+ <script>
84
+ const autoLoadDuration = 5; //In Seconds
85
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
86
+
87
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
88
+
89
+ eventList.forEach(function (event) {
90
+ window.addEventListener(event, triggerScripts, { passive: true })
91
+ });
92
+
93
+ function triggerScripts() {
94
+ runScripts();
95
+ clearTimeout(autoLoadTimeout);
96
+ eventList.forEach(function (event) {
97
+ window.removeEventListener(event, triggerScripts, { passive: true });
98
+ });
99
+ }
100
+
101
+ function runScripts() {
102
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
103
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
104
+ });
105
+ }
106
+ </script>
107
+ <script type="text/javascript" defer delay="{{site.monumetricId}}" data-cfasync="false"></script>
108
+ {% endif %}
109
+
110
+ {% if jekyll.environment == 'development' and site.monumetricId %}
111
+ <script>
112
+ const autoLoadDuration = 5; //In Seconds
113
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
114
+
115
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
116
+
117
+ eventList.forEach(function (event) {
118
+ window.addEventListener(event, triggerScripts, { passive: true })
119
+ });
120
+
121
+ function triggerScripts() {
122
+ runScripts();
123
+ clearTimeout(autoLoadTimeout);
124
+ eventList.forEach(function (event) {
125
+ window.removeEventListener(event, triggerScripts, { passive: true });
126
+ });
127
+ }
128
+
129
+ function runScripts() {
130
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
131
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
132
+ });
133
+ }
134
+ </script>
135
+ <script type="text/javascript" delay="{{site.monumetricId}}"></script>
136
+
137
+ {% endif %}
138
+ </head>
139
139
  {{ seo_description }}
@@ -1 +1 @@
1
- <!-- custom code -->
1
+ <!-- custom code -->
@@ -1 +1 @@
1
- <!-- custom scripts -->
1
+ <!-- custom scripts -->
@@ -1,88 +1,88 @@
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
- <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
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
- {% assign blogData= homeData.posts %}
21
-
22
-
23
-
24
-
25
- <div class="row">
26
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
27
-
28
-
29
- <div class="col-md-9 mx-auto">
30
- <div class="row">
31
- {%- endif -%}
32
-
33
- {% for post in blogData %}
34
- {%- include authors/authors.html-%}
35
-
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.url }}">
41
- <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
42
- width="100%" alt="{{post.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.url }}" class="anchor_link">
47
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
48
- </a>
49
- </div>
50
- <div class="card-footer">
51
- <div class="wrapfooter">
52
- {% if post.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.date | date_to_string }}</span>
65
- </span>
66
- <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.url }}"
67
- title="Read Story">Read
68
- More</a></span>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
-
74
-
75
-
76
-
77
- {% endfor %}
78
-
79
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
80
-
81
-
82
- </div>
83
- </div>
84
- {%- endif -%}
85
- </div>
86
- </div>
87
- </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
+ <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
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
+ {% assign blogData= homeData.posts %}
21
+
22
+
23
+
24
+
25
+ <div class="row">
26
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
27
+
28
+
29
+ <div class="col-md-9 mx-auto">
30
+ <div class="row">
31
+ {%- endif -%}
32
+
33
+ {% for post in blogData %}
34
+ {%- include authors/authors.html-%}
35
+
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.url }}">
41
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
42
+ width="100%" alt="{{post.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.url }}" class="anchor_link">
47
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
48
+ </a>
49
+ </div>
50
+ <div class="card-footer">
51
+ <div class="wrapfooter">
52
+ {% if post.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.date | date_to_string }}</span>
65
+ </span>
66
+ <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.url }}"
67
+ title="Read Story">Read
68
+ More</a></span>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+
74
+
75
+
76
+
77
+ {% endfor %}
78
+
79
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
80
+
81
+
82
+ </div>
83
+ </div>
84
+ {%- endif -%}
85
+ </div>
86
+ </div>
87
+ </div>
88
88
  </section>
@@ -1,68 +1,68 @@
1
- <section class="related-posts-section">
2
- <div class="container">
3
- {% assign blogData= site.data.blog.blog %}
4
- <div class="relatedPosts">
5
- {%- if blogData.size>0 -%}
6
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
7
-
8
- <div class="row">
9
- <div class="col-md-9 mx-auto">
10
- {%- endif -%}
11
- <h3 class="related_post_heading">Recent Posts</h3>
12
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
13
-
14
- </div>
15
- </div>
16
- {%- endif -%}
17
- {%- endif -%}
18
- <div class="row">
19
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
20
-
21
-
22
- <div class="col-md-9 mx-auto">
23
- <div class="row">
24
- {%- endif -%}
25
- {% for post in blogData limit: 6%}
26
- {%- include /authors/authors.html -%}
27
- <div class=" {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6
28
- mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
29
- <div class=" card h-100">
30
- <a href="{{ post.url }}">
31
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
32
- loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
33
- endif -%}>
34
- </a>
35
- <div class="card-body">
36
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
37
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
38
- </a>
39
- </div>
40
- <div class="card-footer">
41
- <div class="wrapfooter">
42
- {% if post.author %}
43
- <span class="meta-footer-thumb">
44
- <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}"
45
- {%- if site.crossorigin -%} crossorigin {%- endif -%}>
46
- </span>
47
- {% endif %}
48
- <span class="author-meta">
49
- <span class="post-name">
50
- <a target="_blank" href="/blog/">{{authorName}}</a>
51
- </span><br>
52
- <span class="post-date">{{post.date | date_to_string }}</span>
53
- </span>
54
- </div>
55
- </div>
56
- </div>
57
- </div>
58
- {% endfor %}
59
- </div>
60
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
61
-
62
-
63
- </div>
64
- </div>
65
- {%- endif -%}
66
- </div>
67
- </div>
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+ {% assign blogData= site.data.blog.blog %}
4
+ <div class="relatedPosts">
5
+ {%- if blogData.size>0 -%}
6
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
7
+
8
+ <div class="row">
9
+ <div class="col-md-9 mx-auto">
10
+ {%- endif -%}
11
+ <h3 class="related_post_heading">Recent Posts</h3>
12
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
13
+
14
+ </div>
15
+ </div>
16
+ {%- endif -%}
17
+ {%- endif -%}
18
+ <div class="row">
19
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
20
+
21
+
22
+ <div class="col-md-9 mx-auto">
23
+ <div class="row">
24
+ {%- endif -%}
25
+ {% for post in blogData limit: 6%}
26
+ {%- include /authors/authors.html -%}
27
+ <div class=" {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6
28
+ mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
29
+ <div class=" card h-100">
30
+ <a href="{{ post.url }}">
31
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
32
+ loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
33
+ endif -%}>
34
+ </a>
35
+ <div class="card-body">
36
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
37
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
38
+ </a>
39
+ </div>
40
+ <div class="card-footer">
41
+ <div class="wrapfooter">
42
+ {% if post.author %}
43
+ <span class="meta-footer-thumb">
44
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}"
45
+ {%- if site.crossorigin -%} crossorigin {%- endif -%}>
46
+ </span>
47
+ {% endif %}
48
+ <span class="author-meta">
49
+ <span class="post-name">
50
+ <a target="_blank" href="/blog/">{{authorName}}</a>
51
+ </span><br>
52
+ <span class="post-date">{{post.date | date_to_string }}</span>
53
+ </span>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ {% endfor %}
59
+ </div>
60
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
61
+
62
+
63
+ </div>
64
+ </div>
65
+ {%- endif -%}
66
+ </div>
67
+ </div>
68
68
  </section>