appscms-tools-theme 4.6.2 → 4.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) 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 -2816
  5. data/_data/feature/en/batch-conversion.json +192 -192
  6. data/_data/feature/en/compress-pdf.json +209 -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 -68
  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/navbars/toolbar.html +4 -17
  32. data/_includes/appscms/recent-posts/recent_posts.html +90 -90
  33. data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
  34. data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
  35. data/_includes/appscms/usp/usp.html +90 -90
  36. data/_includes/author_bio.html +41 -41
  37. data/_includes/authorpagehead/index.html +47 -47
  38. data/_includes/authors/authors.html +39 -39
  39. data/_includes/batch-conversion.html +141 -141
  40. data/_includes/bookmark.html +6 -6
  41. data/_includes/cssfile/links.html +54 -54
  42. data/_includes/custom-head.html +138 -138
  43. data/_includes/customCode.html +1 -1
  44. data/_includes/customScripts.html +1 -1
  45. data/_includes/customblog/pageRelatedPosts.html +87 -87
  46. data/_includes/customblog/recentposts.html +67 -67
  47. data/_includes/customblog/relatedBlogs.html +86 -86
  48. data/_includes/customblog/relatedposts.html +201 -201
  49. data/_includes/dropdown/langdropdown.html +32 -32
  50. data/_includes/feature.html +39 -39
  51. data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
  52. data/_includes/footer/index.html +537 -537
  53. data/_includes/google-analytics.html +32 -32
  54. data/_includes/head/index.html +623 -623
  55. data/_includes/header/blogHeader.html +34 -34
  56. data/_includes/header/index.html +192 -192
  57. data/_includes/infographics/infographics.html +241 -241
  58. data/_includes/paginationBlogPage.html +70 -70
  59. data/_includes/postbox.html +65 -65
  60. data/_includes/script.html +493 -493
  61. data/_includes/section/count.html +32 -32
  62. data/_includes/section/recent_posts.html +94 -94
  63. data/_includes/section/related_categories_post.html +196 -196
  64. data/_includes/share/socialshare.html +21 -21
  65. data/_includes/userTracking.html +14 -14
  66. data/_layouts/aboutUs.html +175 -175
  67. data/_layouts/allAuthors.html +131 -131
  68. data/_layouts/appscms-about.html +163 -163
  69. data/_layouts/appscms-audio.html +33 -33
  70. data/_layouts/appscms-author.html +436 -436
  71. data/_layouts/appscms-authors.html +145 -145
  72. data/_layouts/appscms-batch.html +141 -141
  73. data/_layouts/appscms-calculator.html +93 -93
  74. data/_layouts/appscms-categories.html +26 -26
  75. data/_layouts/appscms-contact.html +132 -132
  76. data/_layouts/appscms-disclaimer.html +124 -124
  77. data/_layouts/appscms-download.html +289 -289
  78. data/_layouts/appscms-feature-result.html +96 -96
  79. data/_layouts/appscms-help.html +25 -25
  80. data/_layouts/appscms-imagekit.html +96 -96
  81. data/_layouts/appscms-post.html +243 -243
  82. data/_layouts/appscms-privacy-policy.html +781 -781
  83. data/_layouts/appscms-terms-and-conditions.html +646 -646
  84. data/_layouts/appscms-video.html +33 -33
  85. data/_layouts/audio.html +33 -33
  86. data/_layouts/author.html +409 -409
  87. data/_layouts/batch.html +177 -177
  88. data/_layouts/blog-1.html +116 -116
  89. data/_layouts/blog.html +131 -131
  90. data/_layouts/calculator.html +99 -99
  91. data/_layouts/contenttool-feature.html +45 -45
  92. data/_layouts/contenttool-home.html +53 -53
  93. data/_layouts/devtool-blog.html +132 -132
  94. data/_layouts/devtool-feature.html +54 -54
  95. data/_layouts/devtool-home.html +53 -53
  96. data/_layouts/devtools.html +57 -57
  97. data/_layouts/feature-1.html +406 -406
  98. data/_layouts/feature.html +351 -351
  99. data/_layouts/featureResultPage.html +82 -82
  100. data/_layouts/frame.html +222 -222
  101. data/_layouts/home.html +281 -281
  102. data/_layouts/homeResultPage.html +32 -32
  103. data/_layouts/imagekit.html +308 -308
  104. data/_layouts/photo-effects-home.html +190 -190
  105. data/_layouts/post.html +233 -233
  106. data/assets/app.js +75 -75
  107. data/assets/css/appscms-blog.css +505 -505
  108. data/assets/css/appscms-contenttool.css +1384 -1384
  109. data/assets/css/appscms-home.css +5 -5
  110. data/assets/css/appscms-imagekit.css +855 -855
  111. data/assets/css/appscms-variables.css +19 -19
  112. data/assets/css/blog.css +510 -510
  113. data/assets/css/calculators.css +46 -46
  114. data/assets/css/devtool-main.css +1350 -1350
  115. data/assets/css/devtools.css +105 -105
  116. data/assets/css/feature-1.css +293 -293
  117. data/assets/css/imagekit copy.css +848 -848
  118. data/assets/css/imagekit.css +848 -848
  119. data/assets/css/tools.css +1847 -1847
  120. data/assets/images/close-button.svg +31 -31
  121. data/assets/images/digipaint.svg +6 -6
  122. data/assets/images/logo.svg +2 -2
  123. data/assets/images/manthink.svg +3552 -3552
  124. data/assets/images/search-icon.svg +2 -2
  125. data/assets/js/batch.js +219 -219
  126. data/assets/js/devtools.js +81 -81
  127. data/assets/js/sharePage.js +65 -65
  128. data/assets/js/usageTracking.js +143 -143
  129. data/assets/js/usageTrackingEvents.js +6 -6
  130. data/assets/js/webvitals.js +4 -4
  131. metadata +3 -3
data/_layouts/post.html CHANGED
@@ -1,234 +1,234 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- {% include custom-head.html %}
4
-
5
- <style>
6
- p {
7
- margin-bottom: 3rem;
8
- }
9
-
10
- .mainThings {
11
- padding-left: 40px;
12
- position: sticky;
13
- top: 80px;
14
- }
15
-
16
- .theseFeatures .featureLink:hover {
17
- text-decoration: underline !important;
18
- }
19
-
20
- .contributors {
21
- border-bottom: 1px solid hsla(210, 18%, 87%, 1);
22
- padding-bottom: 10px;
23
- }
24
-
25
-
26
- @media (max-width:768px) {
27
- .theseFeatures {
28
- text-align: center !important;
29
- padding-left: 0;
30
- position: static;
31
- top: auto;
32
- }
33
-
34
- }
35
- </style>
36
-
37
- <body>
38
- {%- include header/blogHeader.html -%}
39
- {%- if site.newFeatureBox -%}
40
- <div class="appscms-sidebar-left"></div>
41
- <div class="appscms-sidebar-right"></div>
42
- {%- endif -%}
43
- <section class="section_post">
44
- <div class="container">
45
- <div class="row section-title-wrap">
46
- <div class="
47
- {%- if site.monumetricId -%}
48
- col-8 mt-5 mx-auto
49
- {%- else -%}
50
- col-md-12 mt-5
51
- {%- endif -%}
52
-
53
-
54
- ">
55
-
56
- <h1 class="display-4" style="font-weight: 900;">{{ title }}</h1>
57
- </div>
58
- </div>
59
- <div class="row mt-5">
60
- <div class="
61
- {%- if site.monumetricId -%}
62
- col-md-8 mx-auto
63
- {%- else -%}
64
- col-md-8
65
- {%- endif -%}
66
-
67
-
68
- ">
69
- {%- include authors/authors.html -%}
70
- {%- include postauthorbio.html -%}
71
- {% if page.author %}
72
- {%- include author_bio.html -%}
73
- {% endif %}
74
- <div class="post-content">
75
- {{ content }}
76
- </div>
77
-
78
- {%- include paginationPostPage.html -%}
79
- </div>
80
- <div class="
81
- {%- if site.monumetricId -%}
82
- col-md-8 mx-auto
83
- {%- else -%}
84
- col-md-4
85
- {%- endif -%}
86
-
87
-
88
- ">
89
- <div class="mainThings">
90
- {% assign all_contributors = page.contributors.size %}
91
- {%- if page.contributors.size > 0 -%}
92
- <div class="contributors mt-5">
93
- <h3 class="website-label"><strong>Contributors</strong> <span
94
- class="contributors-count">{{all_contributors}}</span></h3>
95
- <div class="d-flex mt-4" style="gap:5px; flex-wrap: wrap;">
96
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
97
- {% for contributor in page.contributors %}
98
- {% for post in posts %}
99
- {%- include /authors/authors.html -%}
100
- {%- assign contributorAuthor = contributor | downcase -%}
101
- {%- assign name = authorName | downcase -%}
102
- {%- if name contains contributorAuthor -%}
103
- <div class="d-flex align-items-center mb-3" style="gap:10px">
104
- <a href="/authors/{{name | downcase | replace: ' ' , '-' }}">
105
- <img class="contributor-image" src="{{image}}" alt="{{name}}">
106
- </a>
107
- </div>
108
- {%- break -%}
109
- {%- endif -%}
110
- {% endfor %}
111
- {% endfor %}
112
- </div>
113
- </div>
114
- {%- endif -%}
115
- <div class="mt-3 socialIons">
116
- <ul class="list-unstyled item-lists2">
117
- <li><a style="pointer-events: none;">{{ site.data.blog.share.label }}</a></li>
118
- {% capture title %}{{ page.title }}{% endcapture %}
119
- {% assign url = page.url | relative_url | prepend: site.url %}
120
- {% for share in site.data.blog.share.platforms %}
121
- {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
122
- <li> <a href=" {{ link }}" data-toggle="tooltip"
123
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
124
- data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
125
- <i class="fa-fw {{ share.icon }}"></i>
126
- </a>
127
- </li>
128
- {% endfor %}
129
- </span>
130
- </ul>
131
- <!-- <div class="sep"></div> -->
132
- <div class="comments-count">
133
- <a href="{{ content.absolute_url }}#disqus_thread" class="comment_count"></a>
134
- </div>
135
- </ul>
136
- </div>
137
-
138
- <div class="theseFeatures">
139
- {%- if page.URLS -%}
140
- <h3 class="font-weight-bolder">Checkout out these features</h3>
141
- <br>
142
- {%- for item in page.URLS -%}
143
- <p class="mb-3"> <a class="featureLink" style="font-size: 13px"
144
- href="{{item.url}}">{{item.name}}</a></p>
145
- {%- endfor -%}
146
- {%- elsif site.relatedPages -%}
147
- {% assign blogPostPath = page.path %}
148
-
149
-
150
- {% for entry in site.data.blog.relatedblogs %}
151
- {% if entry.path == blogPostPath %}
152
- <h2>Related Features:</h2>
153
- <ul class="list-unstyled">
154
- {% for feature in entry.relatedFeatures %}
155
- {% assign parts = feature.webpageUrl | split: '/' %}
156
- {% assign lastPart = parts | last %}
157
- {% assign subParts = lastPart | split: '-' %}
158
- <li><a class="featureLink" style="font-size: 13px" href="{{ site.baseurl }}{{ feature.webpageUrl }}">{{ subParts[0] | capitalize }} {{ subParts[1] }}</a></li>
159
-
160
- {% endfor %}
161
- </ul>
162
- {% endif %}
163
- {% endfor %}
164
- {% else %}
165
- <h3 class="font-weight-bolder">Checkout out these features</h3>
166
- <br>
167
-
168
- {% assign tools = site.pages | where_exp:"item","item.tool" %}
169
- {% assign allRandomUrls = "" | split: ',' %}
170
- {%- for item in tools -%}
171
- {%- if item.lang=="en" -%}
172
- {% assign allRandomUrls = allRandomUrls | push: item.url %}
173
- {%- endif -%}
174
- {%- endfor -%}
175
-
176
- {%- for url in allRandomUrls limit: 10-%}
177
- {% if url %}
178
- <p class="mb-3">
179
- <a class="featureLink" style="font-size: 13px" href="{{url }}">
180
- {%- assign name = url | replace: '/', ' ' | replace: '-', ' ' -%}
181
- {{ name }}
182
- </a>
183
- </p>
184
- {%- endif -%}
185
- {%- endfor -%}
186
- {%- endif -%}
187
-
188
- </div>
189
- </div>
190
- </div>
191
- {%- if site.relatedPages -%}
192
- {%- include customblog/relatedBlogs.html -%}
193
- {%- else -%}
194
- <div class="col-md-12">
195
- {%- if page.categories.size> 0 or page.tags.size>0-%}
196
- {%- include section/related_categories_post.html -%}
197
- {%- else -%}
198
- {%- include section/recent_posts.html -%}
199
- {% endif %}
200
- <div class="commentsection my-5">
201
- {%- if site.disqus.shortname -%}
202
- {%- if site.monumetricId -%}
203
- <div class="row">
204
- <div class="col-md-9 mx-auto">
205
- {%- endif -%}
206
- {%- include disqus_comments.html -%}
207
- {%- if site.monumetricId -%}
208
- </div>
209
- </div>
210
- {%- endif -%}
211
- {%- endif -%}
212
- </div>
213
- </div>
214
- {%- endif -%}
215
- </div>
216
- </div>
217
- </section>
218
- {%- include section/count.html -%}
219
- {%- include section/alertbar.html -%}
220
- {% include script.html %}
221
- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
222
- -%}></script>
223
- {%- if site.crossorigin -%}
224
- <script>
225
- const getImages = document.getElementsByTagName('img')
226
- Array.from(getImages).map(item => {
227
- item.crossOrigin = 'anonymous'
228
- })
229
- </script>
230
- {%- endif -%}
231
-
232
- </body>
233
-
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include custom-head.html %}
4
+
5
+ <style>
6
+ p {
7
+ margin-bottom: 3rem;
8
+ }
9
+
10
+ .mainThings {
11
+ padding-left: 40px;
12
+ position: sticky;
13
+ top: 80px;
14
+ }
15
+
16
+ .theseFeatures .featureLink:hover {
17
+ text-decoration: underline !important;
18
+ }
19
+
20
+ .contributors {
21
+ border-bottom: 1px solid hsla(210, 18%, 87%, 1);
22
+ padding-bottom: 10px;
23
+ }
24
+
25
+
26
+ @media (max-width:768px) {
27
+ .theseFeatures {
28
+ text-align: center !important;
29
+ padding-left: 0;
30
+ position: static;
31
+ top: auto;
32
+ }
33
+
34
+ }
35
+ </style>
36
+
37
+ <body>
38
+ {%- include header/blogHeader.html -%}
39
+ {%- if site.newFeatureBox -%}
40
+ <div class="appscms-sidebar-left"></div>
41
+ <div class="appscms-sidebar-right"></div>
42
+ {%- endif -%}
43
+ <section class="section_post">
44
+ <div class="container">
45
+ <div class="row section-title-wrap">
46
+ <div class="
47
+ {%- if site.monumetricId -%}
48
+ col-8 mt-5 mx-auto
49
+ {%- else -%}
50
+ col-md-12 mt-5
51
+ {%- endif -%}
52
+
53
+
54
+ ">
55
+
56
+ <h1 class="display-4" style="font-weight: 900;">{{ title }}</h1>
57
+ </div>
58
+ </div>
59
+ <div class="row mt-5">
60
+ <div class="
61
+ {%- if site.monumetricId -%}
62
+ col-md-8 mx-auto
63
+ {%- else -%}
64
+ col-md-8
65
+ {%- endif -%}
66
+
67
+
68
+ ">
69
+ {%- include authors/authors.html -%}
70
+ {%- include postauthorbio.html -%}
71
+ {% if page.author %}
72
+ {%- include author_bio.html -%}
73
+ {% endif %}
74
+ <div class="post-content">
75
+ {{ content }}
76
+ </div>
77
+
78
+ {%- include paginationPostPage.html -%}
79
+ </div>
80
+ <div class="
81
+ {%- if site.monumetricId -%}
82
+ col-md-8 mx-auto
83
+ {%- else -%}
84
+ col-md-4
85
+ {%- endif -%}
86
+
87
+
88
+ ">
89
+ <div class="mainThings">
90
+ {% assign all_contributors = page.contributors.size %}
91
+ {%- if page.contributors.size > 0 -%}
92
+ <div class="contributors mt-5">
93
+ <h3 class="website-label"><strong>Contributors</strong> <span
94
+ class="contributors-count">{{all_contributors}}</span></h3>
95
+ <div class="d-flex mt-4" style="gap:5px; flex-wrap: wrap;">
96
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
97
+ {% for contributor in page.contributors %}
98
+ {% for post in posts %}
99
+ {%- include /authors/authors.html -%}
100
+ {%- assign contributorAuthor = contributor | downcase -%}
101
+ {%- assign name = authorName | downcase -%}
102
+ {%- if name contains contributorAuthor -%}
103
+ <div class="d-flex align-items-center mb-3" style="gap:10px">
104
+ <a href="/authors/{{name | downcase | replace: ' ' , '-' }}">
105
+ <img class="contributor-image" src="{{image}}" alt="{{name}}">
106
+ </a>
107
+ </div>
108
+ {%- break -%}
109
+ {%- endif -%}
110
+ {% endfor %}
111
+ {% endfor %}
112
+ </div>
113
+ </div>
114
+ {%- endif -%}
115
+ <div class="mt-3 socialIons">
116
+ <ul class="list-unstyled item-lists2">
117
+ <li><a style="pointer-events: none;">{{ site.data.blog.share.label }}</a></li>
118
+ {% capture title %}{{ page.title }}{% endcapture %}
119
+ {% assign url = page.url | relative_url | prepend: site.url %}
120
+ {% for share in site.data.blog.share.platforms %}
121
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
122
+ <li> <a href=" {{ link }}" data-toggle="tooltip"
123
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
124
+ data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
125
+ <i class="fa-fw {{ share.icon }}"></i>
126
+ </a>
127
+ </li>
128
+ {% endfor %}
129
+ </span>
130
+ </ul>
131
+ <!-- <div class="sep"></div> -->
132
+ <div class="comments-count">
133
+ <a href="{{ content.absolute_url }}#disqus_thread" class="comment_count"></a>
134
+ </div>
135
+ </ul>
136
+ </div>
137
+
138
+ <div class="theseFeatures">
139
+ {%- if page.URLS -%}
140
+ <h3 class="font-weight-bolder">Checkout out these features</h3>
141
+ <br>
142
+ {%- for item in page.URLS -%}
143
+ <p class="mb-3"> <a class="featureLink" style="font-size: 13px"
144
+ href="{{item.url}}">{{item.name}}</a></p>
145
+ {%- endfor -%}
146
+ {%- elsif site.relatedPages -%}
147
+ {% assign blogPostPath = page.path %}
148
+
149
+
150
+ {% for entry in site.data.blog.relatedblogs %}
151
+ {% if entry.path == blogPostPath %}
152
+ <h2>Related Features:</h2>
153
+ <ul class="list-unstyled">
154
+ {% for feature in entry.relatedFeatures %}
155
+ {% assign parts = feature.webpageUrl | split: '/' %}
156
+ {% assign lastPart = parts | last %}
157
+ {% assign subParts = lastPart | split: '-' %}
158
+ <li><a class="featureLink" style="font-size: 13px" href="{{ site.baseurl }}{{ feature.webpageUrl }}">{{ subParts[0] | capitalize }} {{ subParts[1] }}</a></li>
159
+
160
+ {% endfor %}
161
+ </ul>
162
+ {% endif %}
163
+ {% endfor %}
164
+ {% else %}
165
+ <h3 class="font-weight-bolder">Checkout out these features</h3>
166
+ <br>
167
+
168
+ {% assign tools = site.pages | where_exp:"item","item.tool" %}
169
+ {% assign allRandomUrls = "" | split: ',' %}
170
+ {%- for item in tools -%}
171
+ {%- if item.lang=="en" -%}
172
+ {% assign allRandomUrls = allRandomUrls | push: item.url %}
173
+ {%- endif -%}
174
+ {%- endfor -%}
175
+
176
+ {%- for url in allRandomUrls limit: 10-%}
177
+ {% if url %}
178
+ <p class="mb-3">
179
+ <a class="featureLink" style="font-size: 13px" href="{{url }}">
180
+ {%- assign name = url | replace: '/', ' ' | replace: '-', ' ' -%}
181
+ {{ name }}
182
+ </a>
183
+ </p>
184
+ {%- endif -%}
185
+ {%- endfor -%}
186
+ {%- endif -%}
187
+
188
+ </div>
189
+ </div>
190
+ </div>
191
+ {%- if site.relatedPages -%}
192
+ {%- include customblog/relatedBlogs.html -%}
193
+ {%- else -%}
194
+ <div class="col-md-12">
195
+ {%- if page.categories.size> 0 or page.tags.size>0-%}
196
+ {%- include section/related_categories_post.html -%}
197
+ {%- else -%}
198
+ {%- include section/recent_posts.html -%}
199
+ {% endif %}
200
+ <div class="commentsection my-5">
201
+ {%- if site.disqus.shortname -%}
202
+ {%- if site.monumetricId -%}
203
+ <div class="row">
204
+ <div class="col-md-9 mx-auto">
205
+ {%- endif -%}
206
+ {%- include disqus_comments.html -%}
207
+ {%- if site.monumetricId -%}
208
+ </div>
209
+ </div>
210
+ {%- endif -%}
211
+ {%- endif -%}
212
+ </div>
213
+ </div>
214
+ {%- endif -%}
215
+ </div>
216
+ </div>
217
+ </section>
218
+ {%- include section/count.html -%}
219
+ {%- include section/alertbar.html -%}
220
+ {% include script.html %}
221
+ <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
222
+ -%}></script>
223
+ {%- if site.crossorigin -%}
224
+ <script>
225
+ const getImages = document.getElementsByTagName('img')
226
+ Array.from(getImages).map(item => {
227
+ item.crossOrigin = 'anonymous'
228
+ })
229
+ </script>
230
+ {%- endif -%}
231
+
232
+ </body>
233
+
234
234
  </html>
data/assets/app.js CHANGED
@@ -1,75 +1,75 @@
1
-
2
-
3
- const fs = require('fs');
4
-
5
- // Define authors data
6
- const authors = [
7
- {
8
- label: 'Ankita',
9
- name: 'Ankita',
10
- },
11
- {
12
- label: 'Keshav',
13
- name: 'Keshav Agarwal',
14
- },
15
- {
16
- label: 'Anushka',
17
- name: 'Anushka Guha',
18
- },
19
- {
20
- label: 'Paavan',
21
- name: 'Thandra Paavan Kumar',
22
- },
23
- {
24
- label: 'Arjyahi',
25
- name: 'Arjyahi Bhattacharya',
26
- },
27
- {
28
- label: 'Nikita',
29
- name: 'Nikita Gupta',
30
- },
31
- {
32
- label: 'Alka',
33
- name: 'Alka Bisht',
34
- },
35
- {
36
- label: 'Siddhika',
37
- name: 'Siddhika Prajapati',
38
- },
39
- {
40
- label: 'Krutika',
41
- name: 'Krutika',
42
- },
43
-
44
- {
45
- label: 'Shubhangi',
46
- name: 'Shubhangi Singh',
47
- },
48
- {
49
- label: 'Balark',
50
- name: 'Balark Singhal',
51
- },
52
- {
53
- label: 'Udit',
54
- name: 'Udit Agarwal',
55
- },
56
- {
57
- label: 'Pallavi',
58
- name: 'Pallavi Thakur',
59
- }
60
- ];
61
- // Loop through each author and create a Markdown file
62
- authors.forEach(author => {
63
- const filename = `./authors/${author.name.toLowerCase().replace(' ', '-')}.md`;
64
-
65
- const htmldata = `---
66
- layout: author
67
- label: ${author.label}
68
- authorName: ${author.name}
69
- permalink: author/${author.name.toLowerCase().replace(' ', '-')}
70
- ---
71
- `
72
- fs.writeFile(filename, htmldata, (err) => {
73
- if (err) throw err;
74
- });
75
- });
1
+
2
+
3
+ const fs = require('fs');
4
+
5
+ // Define authors data
6
+ const authors = [
7
+ {
8
+ label: 'Ankita',
9
+ name: 'Ankita',
10
+ },
11
+ {
12
+ label: 'Keshav',
13
+ name: 'Keshav Agarwal',
14
+ },
15
+ {
16
+ label: 'Anushka',
17
+ name: 'Anushka Guha',
18
+ },
19
+ {
20
+ label: 'Paavan',
21
+ name: 'Thandra Paavan Kumar',
22
+ },
23
+ {
24
+ label: 'Arjyahi',
25
+ name: 'Arjyahi Bhattacharya',
26
+ },
27
+ {
28
+ label: 'Nikita',
29
+ name: 'Nikita Gupta',
30
+ },
31
+ {
32
+ label: 'Alka',
33
+ name: 'Alka Bisht',
34
+ },
35
+ {
36
+ label: 'Siddhika',
37
+ name: 'Siddhika Prajapati',
38
+ },
39
+ {
40
+ label: 'Krutika',
41
+ name: 'Krutika',
42
+ },
43
+
44
+ {
45
+ label: 'Shubhangi',
46
+ name: 'Shubhangi Singh',
47
+ },
48
+ {
49
+ label: 'Balark',
50
+ name: 'Balark Singhal',
51
+ },
52
+ {
53
+ label: 'Udit',
54
+ name: 'Udit Agarwal',
55
+ },
56
+ {
57
+ label: 'Pallavi',
58
+ name: 'Pallavi Thakur',
59
+ }
60
+ ];
61
+ // Loop through each author and create a Markdown file
62
+ authors.forEach(author => {
63
+ const filename = `./authors/${author.name.toLowerCase().replace(' ', '-')}.md`;
64
+
65
+ const htmldata = `---
66
+ layout: author
67
+ label: ${author.label}
68
+ authorName: ${author.name}
69
+ permalink: author/${author.name.toLowerCase().replace(' ', '-')}
70
+ ---
71
+ `
72
+ fs.writeFile(filename, htmldata, (err) => {
73
+ if (err) throw err;
74
+ });
75
+ });