appscms-tools-theme 2.9.8 → 3.0.0

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 (167) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -21
  3. data/README.md +50 -50
  4. data/_data/about/en/about.json +16 -16
  5. data/_data/blog/alertbar.yml +3 -3
  6. data/_data/blog/authors.yml +11 -11
  7. data/_data/blog/blog.yml +4 -4
  8. data/_data/blog/nav.json +13 -13
  9. data/_data/blog/share.yml +28 -28
  10. data/_data/calculators/en/biology-calc/bulb-spacing.json +78 -78
  11. data/_data/calculators/en/biology-calc/cat-chocolate-toxicity.json +52 -52
  12. data/_data/calculators/en/chemistry-calc/activation-energy.json +44 -44
  13. data/_data/calculators/en/finance-calc/401k.json +122 -122
  14. data/_data/contact/en/contact.json +38 -38
  15. data/_data/disclaimer/en/disclaimer.json +37 -37
  16. data/_data/download/en/download.json +35 -35
  17. data/_data/feature/en/3_shop_posters.json +351 -351
  18. data/_data/feature/en/allele-frequency.json +246 -246
  19. data/_data/feature/en/batch-conversion.json +77 -77
  20. data/_data/feature/en/compress-pdf.json +202 -202
  21. data/_data/feature/en/face-detection.json +52 -52
  22. data/_data/feature/en/split-pdf.json +115 -115
  23. data/_data/feature/en/theframe.json +56 -56
  24. data/_data/feature/hi/compress-pdf.json +81 -81
  25. data/_data/feature/tr/compress-pdf.json +80 -80
  26. data/_data/filecomparison/en/filecomparison.json +38 -38
  27. data/_data/fileinfo/en/fileinfo.json +15 -15
  28. data/_data/footer/en/data.json +166 -166
  29. data/_data/footer/hi/data.json +68 -68
  30. data/_data/footer/networksites.json +15 -15
  31. data/_data/header/en/data.json +173 -173
  32. data/_data/header/hi/data.json +144 -144
  33. data/_data/home/en/en.json +285 -285
  34. data/_data/home/en/photoeffects.json +22 -24
  35. data/_data/home/en/posters.json +323 -323
  36. data/_data/home/hi/hi.json +86 -86
  37. data/_data/home-1/en/en.json +229 -229
  38. data/_data/languagesupport/compress-pdf-langs.json +11 -11
  39. data/_data/languagesupport/index-langs.json +13 -13
  40. data/_data/photo-categories.json +104 -104
  41. data/_data/photoeffects.json +31 -31
  42. data/_data/privacy/en/privacyPolicy.json +265 -265
  43. data/_data/termAndCondition/en/termAndCondition.json +358 -358
  44. data/_includes/Rating/rating.html +92 -92
  45. data/_includes/Rating/structureddata.html +53 -53
  46. data/_includes/Usp/usp.html +95 -95
  47. data/_includes/adblocker.html +135 -135
  48. data/_includes/adsense/adsense.html +7 -7
  49. data/_includes/alternates/alternates.html +45 -45
  50. data/_includes/author_bio.html +16 -16
  51. data/_includes/authors/authors.html +67 -67
  52. data/_includes/batch-conversion.html +65 -65
  53. data/_includes/cssfile/links.html +11 -11
  54. data/_includes/custom-head.html +136 -136
  55. data/_includes/customblog/recentposts.html +67 -67
  56. data/_includes/customblog/relatedposts.html +203 -203
  57. data/_includes/disqus_comments.html +10 -10
  58. data/_includes/dropdown/langdropdown.html +22 -22
  59. data/_includes/feature.html +37 -37
  60. data/_includes/fileformat/Tabularcompariosn.html +158 -158
  61. data/_includes/fileformat/comparisonfiles.html +151 -151
  62. data/_includes/fileformat/fileformatdetail.html +101 -101
  63. data/_includes/fileformat/fileinfoformat.html +93 -93
  64. data/_includes/footer/index.html +538 -538
  65. data/_includes/google-analytics.html +22 -22
  66. data/_includes/head/index.html +235 -235
  67. data/_includes/header/blogHeader.html +34 -34
  68. data/_includes/header/index.html +188 -188
  69. data/_includes/languages/languages.html +60 -60
  70. data/_includes/monumetric/ads.html +57 -57
  71. data/_includes/monumetric/monumetric.html +57 -57
  72. data/_includes/monumetric/profitablecpmgate.html +51 -51
  73. data/_includes/nofiletransfer/nofiletransfer.html +38 -38
  74. data/_includes/paginationBlogPage.html +71 -71
  75. data/_includes/paginationPostPage.html +14 -14
  76. data/_includes/postauthorbio.html +17 -17
  77. data/_includes/postbox.html +31 -31
  78. data/_includes/script.html +58 -58
  79. data/_includes/section/alertbar.html +11 -11
  80. data/_includes/section/count.html +36 -36
  81. data/_includes/section/recent_posts.html +65 -65
  82. data/_includes/section/related_categories_post.html +198 -198
  83. data/_includes/share/socialshare.html +20 -20
  84. data/_includes/staticfooter.html +69 -69
  85. data/_layouts/aboutUs.html +34 -34
  86. data/_layouts/audio.html +33 -0
  87. data/_layouts/batch.html +98 -98
  88. data/_layouts/blog-1.html +83 -83
  89. data/_layouts/blog.html +94 -94
  90. data/_layouts/calculator.html +89 -89
  91. data/_layouts/categories.html +33 -33
  92. data/_layouts/contactUs.html +124 -124
  93. data/_layouts/default.html +1 -1
  94. data/_layouts/disclaimer.html +123 -123
  95. data/_layouts/download.html +299 -299
  96. data/_layouts/feature-1.html +322 -322
  97. data/_layouts/feature-download.html +308 -308
  98. data/_layouts/feature.html +291 -259
  99. data/_layouts/featureResultPage.html +65 -65
  100. data/_layouts/fileInfo.html +39 -39
  101. data/_layouts/filecomparison.html +85 -85
  102. data/_layouts/frame.html +222 -222
  103. data/_layouts/help.html +23 -23
  104. data/_layouts/home-1.html +229 -229
  105. data/_layouts/home.html +249 -249
  106. data/_layouts/homeResultPage.html +31 -31
  107. data/_layouts/imagekit.html +125 -125
  108. data/_layouts/page.html +5 -5
  109. data/_layouts/photo-effects-home.html +5 -192
  110. data/_layouts/post.html +177 -177
  111. data/_layouts/privacyPolicy.html +637 -637
  112. data/_layouts/termAndCondition.html +646 -646
  113. data/_layouts/video.html +33 -0
  114. data/assets/.DS_Store +0 -0
  115. data/assets/cross.svg +4 -4
  116. data/assets/css/adblocker.css +187 -187
  117. data/assets/css/batch.css +437 -437
  118. data/assets/css/blog-1.css +65 -65
  119. data/assets/css/blog.css +491 -491
  120. data/assets/css/bootstrap.min.css +6 -6
  121. data/assets/css/calculators.css +47 -47
  122. data/assets/css/common.css +550 -550
  123. data/assets/css/feature-1.css +290 -290
  124. data/assets/css/filecomparison.css +25 -25
  125. data/assets/css/frame.css +780 -780
  126. data/assets/css/home-1.css +187 -187
  127. data/assets/css/imagekit.css +840 -840
  128. data/assets/css/tools.css +1311 -1278
  129. data/assets/facebook.svg +4 -4
  130. data/assets/images/.DS_Store +0 -0
  131. data/assets/images/abp.svg +41 -41
  132. data/assets/images/adblock.svg +266 -266
  133. data/assets/images/addimg.svg +2 -2
  134. data/assets/images/audio-upload.svg +1 -0
  135. data/assets/images/convert.svg +8 -8
  136. data/assets/images/image.webp +0 -0
  137. data/assets/images/safevideoconverter.svg +23 -23
  138. data/assets/images/uo.svg +41 -41
  139. data/assets/images/vectorpaint.svg +5 -5
  140. data/assets/instagram.svg +4 -4
  141. data/assets/js/TopScroll.js +8 -8
  142. data/assets/js/adBlocker.js +44 -44
  143. data/assets/js/ads.js +8 -8
  144. data/assets/js/append-div.js +10 -10
  145. data/assets/js/batch.js +229 -229
  146. data/assets/js/calculator-tooltip.js +3 -3
  147. data/assets/js/face-api.js +38064 -38064
  148. data/assets/js/face-detection.js +303 -303
  149. data/assets/js/featureResult.js +48 -48
  150. data/assets/js/frame.js +263 -263
  151. data/assets/js/googledrive.js +155 -155
  152. data/assets/js/homeResult.js +36 -36
  153. data/assets/js/manifest.json +16 -16
  154. data/assets/js/multiselect.js +157 -157
  155. data/assets/js/perspective.min.js +182 -182
  156. data/assets/js/photo-effects.json +84 -84
  157. data/assets/js/redirectResult.js +9 -9
  158. data/assets/js/testing-batch.js +39 -39
  159. data/assets/js/theme.js +44 -44
  160. data/assets/linkdin.svg +4 -4
  161. data/assets/noserverupload.svg +4 -4
  162. data/assets/pdf.svg +20 -20
  163. data/assets/secure.svg +43 -43
  164. data/assets/star.svg +4 -4
  165. data/assets/twitter.svg +4 -4
  166. data/assets/youtube.svg +4 -4
  167. metadata +13 -7
@@ -1,66 +1,66 @@
1
- {%- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
2
- <div class="options-panel">
3
- <div class="title">
4
- Options
5
- </div>
6
- <div id="controls" class="text-left">
7
- <label>Amount</label>
8
- <div class="d-flex">
9
- {%- if page.effect == "blur" -%}
10
- <input class="w-100" type="range" min="0" max="50" value="25" step="0.5" id="applyFilter"
11
- data-filter="{{page.effect}}" data-scale="px">
12
- <div class="d-flex align-items-center" id="counter"></div>
13
- {%- elsif page.effect == "opacity" -%}
14
- <input class="w-100" id="applyFilter" type="range" min="0" max="1" step="0.1" value="0.5"
15
- data-filter="{{page.effect}}" />
16
- <div class="d-flex align-items-center" id="counter"></div>
17
- {%- elsif page.effect == "saturate" -%}
18
- <input class="w-100" type="range" min="0" max="200" value="100" step="1" id="applyFilter"
19
- data-filter="{{page.effect}}" data-scale="">
20
- <div class="d-flex align-items-center" id="counter"></div>
21
- {%- elsif page.effect == "hue-rotate" -%}
22
- <input class="w-100" type="range" min="0" max="360" value="180" step="1" id="applyFilter"
23
- data-filter="{{page.effect}}" data-scale="deg">
24
- <div class="d-flex align-items-center" id="counter"></div>
25
- {%- elsif page.effect == "grayscale" -%}
26
- <input class="w-100" type="range" min="0" max="100" value="50" step="1" id="applyFilter"
27
- data-filter="{{page.effect}}" data-scale="%">
28
- <div class="d-flex align-items-center" id="counter"></div>
29
- {%- elsif page.effect == "sepia" -%}
30
- <input class="w-100" type="range" min="0" max="100" value="50" step="1" id="applyFilter"
31
- data-filter="{{page.effect}}" data-scale="%">
32
- <div class="d-flex align-items-center" id="counter"></div>
33
- {%- elsif page.effect == "gamma" -%}
34
- <input class="w-100" type="range" min="0" max="10" value="5" step="1" id="applyFilter"
35
- data-filter="{{page.effect}}">
36
- {%- elsif page.panelTitle == "exposure" -%}
37
- <input class="w-100" type="range" min="-100" max="100" value="0" step="1" id="applyFilter"
38
- data-filter="{{page.effect}}">
39
- {%- else -%}
40
- <input class="w-100" type="range" min="0" max="200" value="100" step="1" id="applyFilter"
41
- data-filter="{{page.effect}}" data-scale="%">
42
- <div class="d-flex align-items-center" id="counter"></div>
43
- {%- endif -%}
44
- <br>
45
- </div>
46
- </div>
47
-
48
-
49
- <div class="download-format d-none">
50
- <span class="select-format-title">image's format</span>
51
- <select name="image-format" id="image-format">
52
- <option value="png">png</option>
53
- <option value="jpg">jpg</option>
54
- <option value="jpeg">jpeg</option>
55
- <option value="webp">webp</option>
56
-
57
- </select>
58
- </div>
59
-
60
- <div class="convertBtn-container">
61
- <button style="background-color:{{boxColor}};" class="btn" id="submit-button">
62
- Convert
63
- <img src="/assets/images/convert.svg" width="20px" alt="convert-files">
64
- </button>
65
- </div>
1
+ {%- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
2
+ <div class="options-panel">
3
+ <div class="title">
4
+ Options
5
+ </div>
6
+ <div id="controls" class="text-left">
7
+ <label>Amount</label>
8
+ <div class="d-flex">
9
+ {%- if page.effect == "blur" -%}
10
+ <input class="w-100" type="range" min="0" max="50" value="25" step="0.5" id="applyFilter"
11
+ data-filter="{{page.effect}}" data-scale="px">
12
+ <div class="d-flex align-items-center" id="counter"></div>
13
+ {%- elsif page.effect == "opacity" -%}
14
+ <input class="w-100" id="applyFilter" type="range" min="0" max="1" step="0.1" value="0.5"
15
+ data-filter="{{page.effect}}" />
16
+ <div class="d-flex align-items-center" id="counter"></div>
17
+ {%- elsif page.effect == "saturate" -%}
18
+ <input class="w-100" type="range" min="0" max="200" value="100" step="1" id="applyFilter"
19
+ data-filter="{{page.effect}}" data-scale="">
20
+ <div class="d-flex align-items-center" id="counter"></div>
21
+ {%- elsif page.effect == "hue-rotate" -%}
22
+ <input class="w-100" type="range" min="0" max="360" value="180" step="1" id="applyFilter"
23
+ data-filter="{{page.effect}}" data-scale="deg">
24
+ <div class="d-flex align-items-center" id="counter"></div>
25
+ {%- elsif page.effect == "grayscale" -%}
26
+ <input class="w-100" type="range" min="0" max="100" value="50" step="1" id="applyFilter"
27
+ data-filter="{{page.effect}}" data-scale="%">
28
+ <div class="d-flex align-items-center" id="counter"></div>
29
+ {%- elsif page.effect == "sepia" -%}
30
+ <input class="w-100" type="range" min="0" max="100" value="50" step="1" id="applyFilter"
31
+ data-filter="{{page.effect}}" data-scale="%">
32
+ <div class="d-flex align-items-center" id="counter"></div>
33
+ {%- elsif page.effect == "gamma" -%}
34
+ <input class="w-100" type="range" min="0" max="10" value="5" step="1" id="applyFilter"
35
+ data-filter="{{page.effect}}">
36
+ {%- elsif page.panelTitle == "exposure" -%}
37
+ <input class="w-100" type="range" min="-100" max="100" value="0" step="1" id="applyFilter"
38
+ data-filter="{{page.effect}}">
39
+ {%- else -%}
40
+ <input class="w-100" type="range" min="0" max="200" value="100" step="1" id="applyFilter"
41
+ data-filter="{{page.effect}}" data-scale="%">
42
+ <div class="d-flex align-items-center" id="counter"></div>
43
+ {%- endif -%}
44
+ <br>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ <div class="download-format d-none">
50
+ <span class="select-format-title">image's format</span>
51
+ <select name="image-format" id="image-format">
52
+ <option value="png">png</option>
53
+ <option value="jpg">jpg</option>
54
+ <option value="jpeg">jpeg</option>
55
+ <option value="webp">webp</option>
56
+
57
+ </select>
58
+ </div>
59
+
60
+ <div class="convertBtn-container">
61
+ <button style="background-color:{{boxColor}};" class="btn" id="submit-button">
62
+ Convert
63
+ <img src="/assets/images/convert.svg" width="20px" alt="convert-files">
64
+ </button>
65
+ </div>
66
66
  </div>
@@ -1,12 +1,12 @@
1
- {% assign cssData = site.data.[page.folderName][lang][file] %}
2
- {{site.data.customcdns.customcdns.cssfiles}}
3
- {%- if cssData.cssfilepaths -%}
4
- {%- for path in cssData.cssfilepaths -%}
5
- <link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
6
- {%- endfor -%}
7
- {%- endif -%}
8
- {%- if cssData.csscdns -%}
9
- {%- for item in cssData.csscdns -%}
10
- {{item}}
11
- {%- endfor -%}
1
+ {% assign cssData = site.data.[page.folderName][lang][file] %}
2
+ {{site.data.customcdns.customcdns.cssfiles}}
3
+ {%- if cssData.cssfilepaths -%}
4
+ {%- for path in cssData.cssfilepaths -%}
5
+ <link defer rel="stylesheet" href="{{path}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif -%}>
6
+ {%- endfor -%}
7
+ {%- endif -%}
8
+ {%- if cssData.csscdns -%}
9
+ {%- for item in cssData.csscdns -%}
10
+ {{item}}
11
+ {%- endfor -%}
12
12
  {%- endif -%}
@@ -1,137 +1,137 @@
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
- <meta charset="UTF-8" />
51
- <link rel="shortcut icon" href="{{favicon}}" />
52
- <link rel="canonical" href="{{site.url | append: page.url}}" />
53
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
54
- <meta name="keywords" content="{{site.keyboard}}" />
55
- <meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
56
- <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
57
- <meta property="og:title" content="{{ title | default: site.title }}" />
58
- <meta property="og:type" content="{{og_type}}" />
59
- <meta property="og:locale" content="en_US" />
60
- <meta property="og:site_name" content="{{site.name}}" />
61
- <meta property="og:url" content="{{site.url | append: page.url}}" />
62
- <meta name="author" content="{{ site.author_name }}" />
63
- <title>{{title}}</title>
64
- <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
65
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
66
- site.crossorigin -%} crossorigin {%- endif -%} />
67
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if
68
- site.crossorigin -%} crossorigin {%- endif -%} />
69
- {% include adsense/adsense.html %}
70
- <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
71
- endif -%} />
72
-
73
- {%- if page.layout == "blog-1" -%}
74
- <link rel="stylesheet" href="{{'/assets/css/blog-1.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
75
- endif -%} />
76
- {%- endif -%}
77
-
78
- {%- include google-analytics.html -%}
79
- {% if jekyll.environment == 'production' and site.monumetricId %}
80
- <script>
81
- const autoLoadDuration = 5; //In Seconds
82
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
83
-
84
- const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
85
-
86
- eventList.forEach(function (event) {
87
- window.addEventListener(event, triggerScripts, { passive: true })
88
- });
89
-
90
- function triggerScripts() {
91
- runScripts();
92
- clearTimeout(autoLoadTimeout);
93
- eventList.forEach(function (event) {
94
- window.removeEventListener(event, triggerScripts, { passive: true });
95
- });
96
- }
97
-
98
- function runScripts() {
99
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
100
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
101
- });
102
- }
103
- </script>
104
- <script type="text/javascript" defer delay="{{site.monumetricId}}"
105
- data-cfasync="false"></script>
106
- {% endif %}
107
-
108
- {% if jekyll.environment == 'development' and site.monumetricId %}
109
- <script>
110
- const autoLoadDuration = 5; //In Seconds
111
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
112
-
113
- const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
114
-
115
- eventList.forEach(function (event) {
116
- window.addEventListener(event, triggerScripts, { passive: true })
117
- });
118
-
119
- function triggerScripts() {
120
- runScripts();
121
- clearTimeout(autoLoadTimeout);
122
- eventList.forEach(function (event) {
123
- window.removeEventListener(event, triggerScripts, { passive: true });
124
- });
125
- }
126
-
127
- function runScripts() {
128
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
129
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
130
- });
131
- }
132
- </script>
133
- <script type="text/javascript" delay="{{site.monumetricId}}"></script>
134
-
135
- {% endif %}
136
- </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
+ <meta charset="UTF-8" />
51
+ <link rel="shortcut icon" href="{{favicon}}" />
52
+ <link rel="canonical" href="{{site.url | append: page.url}}" />
53
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
54
+ <meta name="keywords" content="{{site.keyboard}}" />
55
+ <meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
56
+ <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
57
+ <meta property="og:title" content="{{ title | default: site.title }}" />
58
+ <meta property="og:type" content="{{og_type}}" />
59
+ <meta property="og:locale" content="en_US" />
60
+ <meta property="og:site_name" content="{{site.name}}" />
61
+ <meta property="og:url" content="{{site.url | append: page.url}}" />
62
+ <meta name="author" content="{{ site.author_name }}" />
63
+ <title>{{title}}</title>
64
+ <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
65
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
66
+ site.crossorigin -%} crossorigin {%- endif -%} />
67
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if
68
+ site.crossorigin -%} crossorigin {%- endif -%} />
69
+ {% include adsense/adsense.html %}
70
+ <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
71
+ endif -%} />
72
+
73
+ {%- if page.layout == "blog-1" -%}
74
+ <link rel="stylesheet" href="{{'/assets/css/blog-1.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%-
75
+ endif -%} />
76
+ {%- endif -%}
77
+
78
+ {%- include google-analytics.html -%}
79
+ {% if jekyll.environment == 'production' and site.monumetricId %}
80
+ <script>
81
+ const autoLoadDuration = 5; //In Seconds
82
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
83
+
84
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
85
+
86
+ eventList.forEach(function (event) {
87
+ window.addEventListener(event, triggerScripts, { passive: true })
88
+ });
89
+
90
+ function triggerScripts() {
91
+ runScripts();
92
+ clearTimeout(autoLoadTimeout);
93
+ eventList.forEach(function (event) {
94
+ window.removeEventListener(event, triggerScripts, { passive: true });
95
+ });
96
+ }
97
+
98
+ function runScripts() {
99
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
100
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
101
+ });
102
+ }
103
+ </script>
104
+ <script type="text/javascript" defer delay="{{site.monumetricId}}"
105
+ data-cfasync="false"></script>
106
+ {% endif %}
107
+
108
+ {% if jekyll.environment == 'development' and site.monumetricId %}
109
+ <script>
110
+ const autoLoadDuration = 5; //In Seconds
111
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
112
+
113
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
114
+
115
+ eventList.forEach(function (event) {
116
+ window.addEventListener(event, triggerScripts, { passive: true })
117
+ });
118
+
119
+ function triggerScripts() {
120
+ runScripts();
121
+ clearTimeout(autoLoadTimeout);
122
+ eventList.forEach(function (event) {
123
+ window.removeEventListener(event, triggerScripts, { passive: true });
124
+ });
125
+ }
126
+
127
+ function runScripts() {
128
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
129
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
130
+ });
131
+ }
132
+ </script>
133
+ <script type="text/javascript" delay="{{site.monumetricId}}"></script>
134
+
135
+ {% endif %}
136
+ </head>
137
137
  {{ seo_description }}
@@ -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 bg-white">
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 bg-white">
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>