appscms-tools-theme 4.0.7 → 4.0.8

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 (106) hide show
  1. checksums.yaml +4 -4
  2. data/_data/about/en/about.json +16 -16
  3. data/_data/blog/nav.json +13 -13
  4. data/_data/blog/relatedblogs.json +6932 -6932
  5. data/_data/download/en/download.json +73 -73
  6. data/_data/feature/en/3_shop_posters.json +361 -361
  7. data/_data/feature/en/allele-frequency.json +321 -321
  8. data/_data/feature/en/batch-conversion.json +153 -153
  9. data/_data/feature/en/compress-pdf.json +308 -308
  10. data/_data/feature/en/devtools.json +299 -299
  11. data/_data/feature/en/face-detection.json +123 -123
  12. data/_data/feature/en/split-pdf.json +176 -176
  13. data/_data/feature/en/theframe.json +126 -126
  14. data/_data/feature/hi/compress-pdf.json +162 -162
  15. data/_data/feature/tr/compress-pdf.json +161 -161
  16. data/_data/footer/en/data.json +167 -167
  17. data/_data/header/en/data.json +174 -174
  18. data/_data/home/en/en.json +381 -381
  19. data/_data/home/en/photoeffects.json +97 -97
  20. data/_data/home/en/posters.json +322 -322
  21. data/_data/home-1/en/en.json +308 -308
  22. data/_includes/appscms/customblog/pageRelatedPosts.html +84 -84
  23. data/_includes/appscms/customblog/recentposts.html +67 -67
  24. data/_includes/appscms/customblog/relatedBlogs.html +83 -83
  25. data/_includes/appscms/customblog/relatedposts.html +196 -196
  26. data/_includes/appscms/extras/appscms-postbox.html +65 -65
  27. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +97 -97
  28. data/_includes/appscms/head/bloghead.html +238 -238
  29. data/_includes/appscms/infographics/infographics.html +114 -109
  30. data/_includes/appscms/recent-posts/recent_posts.html +92 -92
  31. data/_includes/appscms/recent-posts/related_categories_post.html +198 -198
  32. data/_includes/author_bio.html +41 -41
  33. data/_includes/authorpagehead/index.html +47 -47
  34. data/_includes/authors/authors.html +117 -117
  35. data/_includes/batch-conversion.html +141 -141
  36. data/_includes/cssfile/links.html +54 -54
  37. data/_includes/custom-head.html +138 -138
  38. data/_includes/customCode.html +1 -1
  39. data/_includes/customScripts.html +1 -1
  40. data/_includes/customblog/pageRelatedPosts.html +87 -87
  41. data/_includes/customblog/relatedBlogs.html +86 -86
  42. data/_includes/dropdown/langdropdown.html +32 -32
  43. data/_includes/feature.html +39 -39
  44. data/_includes/featurePageAuthors/featurePageAuthors.html +97 -97
  45. data/_includes/footer/index.html +538 -538
  46. data/_includes/google-analytics.html +32 -32
  47. data/_includes/head/index.html +623 -623
  48. data/_includes/header/blogHeader.html +34 -34
  49. data/_includes/header/index.html +192 -192
  50. data/_includes/infographics/infographics.html +241 -231
  51. data/_includes/paginationBlogPage.html +70 -70
  52. data/_includes/script.html +557 -557
  53. data/_includes/share/socialshare.html +21 -21
  54. data/_includes/userTracking.html +43 -43
  55. data/_layouts/aboutUs.html +98 -98
  56. data/_layouts/allAuthors.html +131 -131
  57. data/_layouts/appscms-about.html +163 -163
  58. data/_layouts/appscms-audio.html +33 -33
  59. data/_layouts/appscms-author.html +408 -408
  60. data/_layouts/appscms-authors.html +132 -132
  61. data/_layouts/appscms-calculator.html +93 -93
  62. data/_layouts/appscms-categories.html +26 -26
  63. data/_layouts/appscms-contact.html +132 -132
  64. data/_layouts/appscms-disclaimer.html +124 -124
  65. data/_layouts/appscms-download.html +289 -289
  66. data/_layouts/appscms-feature-result.html +94 -94
  67. data/_layouts/appscms-help.html +25 -25
  68. data/_layouts/appscms-imagekit.html +113 -113
  69. data/_layouts/appscms-post.html +243 -243
  70. data/_layouts/appscms-privacy-policy.html +781 -781
  71. data/_layouts/appscms-terms-and-conditions.html +646 -646
  72. data/_layouts/appscms-video.html +33 -33
  73. data/_layouts/audio.html +33 -33
  74. data/_layouts/author.html +408 -408
  75. data/_layouts/batch.html +177 -177
  76. data/_layouts/blog.html +131 -131
  77. data/_layouts/calculator.html +99 -99
  78. data/_layouts/devtools.html +57 -57
  79. data/_layouts/feature-1.html +406 -406
  80. data/_layouts/feature.html +435 -434
  81. data/_layouts/featureResultPage.html +80 -80
  82. data/_layouts/frame.html +222 -222
  83. data/_layouts/home.html +300 -300
  84. data/_layouts/imagekit.html +303 -303
  85. data/_layouts/photo-effects-home.html +190 -190
  86. data/_layouts/post.html +233 -233
  87. data/assets/app.js +75 -75
  88. data/assets/css/appscms-blog.css +500 -500
  89. data/assets/css/appscms-home.css +5 -5
  90. data/assets/css/appscms-imagekit.css +854 -854
  91. data/assets/css/appscms-variables.css +18 -18
  92. data/assets/css/blog.css +509 -509
  93. data/assets/css/calculators.css +46 -46
  94. data/assets/css/devtools.css +105 -105
  95. data/assets/css/feature-1.css +293 -293
  96. data/assets/css/imagekit copy.css +848 -848
  97. data/assets/css/tools.css +1817 -1817
  98. data/assets/images/digipaint.svg +6 -6
  99. data/assets/images/logo.svg +2 -2
  100. data/assets/images/manthink.svg +3552 -3552
  101. data/assets/js/batch.js +256 -256
  102. data/assets/js/devtools.js +81 -81
  103. data/assets/js/sharePage.js +65 -65
  104. data/assets/js/usageTracking.js +143 -143
  105. data/assets/js/usageTrackingEvents.js +6 -6
  106. metadata +2 -2
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
+ });