-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ftd
710 lines (557 loc) · 11.2 KB
/
index.ftd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
-- string site-name: simple blog
-- string site-logo: https://res.cloudinary.com/dphj6havg/image/upload/v1638644344/Group_551_gqhmnl.svg
-- string site-logo-dark: https://res.cloudinary.com/dphj6havg/image/upload/v1640160716/Group_551_1_xehddg.svg
-- string copyright-text: © 2021 FPM Blog - Latest FPM News & Updates
-- string author-name: Sourabh
-- string author-bio: Sourabh
-- string author-image: Sourabh
-- string linkedin-url: xyx
-- string facebook-url: xyx
-- string twitter-url: xyx
-- string instagram-url: xyx
-- string reddit-url: xyx
-- boolean dark-mode: true
-- boolean mobile: false
-- string neutral: #fff
-- string neutral-200: #ced2dd
-- string neutral-300: #F9F9F9
-- string neutral-400: #E1E1E1
-- string neutral-500: #323546
-- string neutral-600: #3E4155
-- string neutral-700: #1C1C24
-- string neutral-800: #000
-- record toc:
caption title:
string link:
-- ftd.column index-page:
width: fill
open: content-container
background-color if $ftd.dark-mode:$neutral-700
--- header:
logo: $site-logo
logo-dark: $site-logo-dark
--- author-info:
name: $author-name
bio: $author-bio
image: $author-image
--- content:
id: content-container
--- container: ftd.main
--- footer:
-- ftd.column blog-page:
width: fill
open: content-container2
background-color if $ftd.dark-mode: $neutral-700
--- header:
logo: $site-logo
logo-dark: $site-logo-dark
--- content:
id: content-container2
--- container: ftd.main
--- footer:
-- ftd.row banner:
background-color: #5E7CEC
width: fill
padding-vertical: 20
padding-horizontal: 100
padding-horizontal if $mobile: 15
-- ftd.row author-info:
string name:
string bio:
string image:
padding-horizontal: 100
padding-horizontal if $mobile: 15
padding-vertical: 30
width: fill
background-color: $neutral-300
background-color if $ftd.dark-mode: $neutral-500
--- ftd.column:
width: percent 60
spacing: 20
position: left
--- ftd.text: $name
size: 30
style: medium
color: $neutral-800
color if $ftd.dark-mode: $neutral
--- ftd.text: $bio
size: 16
color: $neutral-800
color if $ftd.dark-mode: $neutral
--- container: ftd.main
--- ftd.image:
src: $image
width: 200
width if $mobile: 140
height: 200
height if $mobile: 140
border-radius: 200
position: right
-- ftd.row header:
string logo:
string logo-dark:
width: fill
background-color: $neutral
background-color if $ftd.dark-mode: $neutral-700
border-color : #D4D4D4
border-color if $ftd.dark-mode: $neutral-500
border-bottom: 1
--- ftd.row:
width: fill
padding-horizontal: 100
padding-horizontal if $mobile: 15
padding-vertical: 20
--- ftd.image:
if: not $ftd.dark-mode
src: $logo
height: auto
width: 140
width if $mobile: 110
link: /
--- ftd.image:
if: $ftd.dark-mode
src: $logo-dark
height: auto
width: 140
width if $mobile: 110
link: /
--- follow-us: Follow us on
twitter: $linkedin-url
instagram: $linkedin-url
-- ftd.row follow-us:
caption title:
optional string twitter: $linkedin-url
optional string facebook: $linkedin-url
optional string instagram: $linkedin-url
optional string linkedin: $linkedin-url
optional string reddit: $linkedin-url
spacing: 14
position: right
--- ftd.text: $title
size: 14
style: light
color: $neutral-800
color if $ftd.dark-mode: $neutral
padding-right: 20
--- ftd.image:
if: $twitter is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640089167/twitter-sign_qa5imj.svg
height: 24
width: auto
link: $twitter
--- ftd.image:
if: $facebook is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640089167/facebook_ea2xzm.svg
height: 24
width: auto
link: $facebook
--- ftd.image:
if: $instagram is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640089200/instagram_qo3tnd.svg
height: 24
width: auto
link: $instagram
--- ftd.image:
if: $linkedin is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640089167/linkedin-logo_oytvwq.svg
height: 24
width: auto
link: $linkedin
--- ftd.image:
if: $reddit is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640089167/reddit_wvh13l.svg
height: 24
width: auto
link: $reddit
--- ftd.image:
src: https://res.cloudinary.com/dphj6havg/image/upload/v1640162431/moon_gmh2cd.png
height: 20
width: auto
$event-click$: toggle $ftd.dark-mode
-- ftd.column welcome-section:
caption title:
body body:
background-color: #F5F7FF
width: fill
padding-vertical: 50
padding-horizontal: 100
padding-horizontal if $mobile: 15
spacing: 20
--- ftd.text: $title
size: 40
color: #595959
--- ftd.text: $body
size: 16
line-height: 24
width: 650
style: light
color: #4A4A4A
-- ftd.text markdown:
body body:
optional boolean collapsed:
optional caption title:
optional boolean two_columns:
text: $body
size: 18
line-height: 24
color: $neutral-800
color if $ftd.dark-mode: $neutral
padding-bottom: 8
-- ftd.text inner-markdown:
body body:
optional boolean collapsed:
optional caption title:
optional boolean two_columns:
color: $neutral-800
color if $ftd.dark-mode: $neutral-200
text: $body
size: 18
line-height: 24
-- ftd.column h0:
caption title:
optional body body:
string color: $neutral-800
width: fill
region: h0
padding-bottom: 6
--- ftd.text:
text: $title
region: title
size: 48
line-height: 64
color: $color
color if $ftd.dark-mode: $neutral
style: bold
padding-bottom: 8
padding-top: 0
width: fill
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column h1:
caption title:
optional body body:
width: fill
region: h1
padding-bottom: 6
--- ftd.text:
text: $title
caption $title:
region: title
text: $title
size: 36
line-height: 40
color: $neutral-800
color if $ftd.dark-mode: $neutral
style: bold
padding-bottom: 8
padding-top: 16
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column h2:
caption title:
optional body body:
width: fill
region: h1
padding-bottom: 6
--- ftd.text:
text: $title
caption $title:
region: title
text: $title
size: 28
line-height: 34
color: $neutral-800
color if $ftd.dark-mode: $neutral
style: bold
padding-bottom: 8
padding-top: 16
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column h3:
caption title:
optional body body:
width: fill
region: h1
padding-bottom: 6
--- ftd.text:
text: $title
caption $title:
region: title
text: $title
size: 22
line-height: 30
color: $neutral-800
color if $ftd.dark-mode: $neutral
style: bold
padding-bottom: 8
padding-top: 16
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column h4:
caption title:
optional body body:
width: fill
region: h1
padding-bottom: 6
--- ftd.text:
region: title
text: $title
size: 19
line-height: 26
color: $neutral-800
color if $ftd.dark-mode: $neutral
style: bold
padding-bottom: 8
padding-top: 16
--- inner-markdown:
if: $body is not null
body: $body
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column sub-heading:
caption title:
optional body body:
width: fill
region: h2
padding-bottom: 6
--- ftd.text:
text: $title
caption $title:
region: title
text: $title
size: 24
line-height: 24
color: $neutral-800
color if $ftd.dark-mode: $neutral
style: semi-bold
padding-bottom: 8
padding-top: 16
--- inner-markdown:
if: $body is not null
body: $body
-- ftd.column code:
optional caption caption:
body body:
string lang:
optional string filename:
optional string full:
padding-bottom: 12
padding-top: 12
width: fill
--- ftd.text:
if: $caption is not null
text: $caption
color: #DCDCDC
width: fill
size: 14
background-color: #3a404e
padding-top: 10
padding-bottom: 10
padding-left: 20
padding-right: 20
border-top-radius: 4
--- ftd.code:
if: $caption is not null
text: $body
lang: $lang
color: #4D4D4D
width: fill
size: 17
line-height: 25
padding-top: 10
padding-left: 20
padding-bottom: 10
padding-right: 20
background-color: #2b303b
border-bottom-radius: 4
overflow-x: auto
--- ftd.code:
if: $caption is null
text: $body
lang: $lang
color: #4D4D4D
width: fill
size: 17
line-height: 25
padding-top: 10
padding-left: 20
padding-bottom: 10
padding-right: 20
background-color: #2b303b
border-bottom-radius: 4
border-top-radius: 4
overflow-x: auto
-- ftd.column subscribe-block:
width: fill
caption title:
optional string text-color: $neutral
optional string sub-title: Join the newsletter to receive the latest updates in your inbox.
string background-color: #000c2d
padding-vertical: 30
padding-horizontal: 24
border-radius: 4
background-color: $background-color
--- ftd.text: $title
color: $neutral
size: 28
style: bold
line-height: 40
padding-bottom: 12
--- ftd.text: $title
color: $neutral
size: 16
line-height: 24
padding-bottom: 24
--- ftd.text: Subscribe
color: $neutral
size: 14
padding-vertical: 10
width: fill
background-color: #f35266
border-radius: 3
text-align: center
-- ftd.column social-media:
optional string twitter:
optional string facebook:
optional string youtube:
optional string instagram:
width: fill
background-color: $neutral
border-radius: 6
padding-vertical: 20
border-color: #eaecee
border-width: 1
--- ftd.row:
align: center
spacing: 20
--- ftd.image:
if: $twitter is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1638288389/twitter_owarko.png
width: 24
height: auto
link: $twitter
--- ftd.image:
if: $facebook is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1638288389/facebook-app-symbol_inagpd.png
width: 24
height: auto
link: $facebook
--- ftd.image:
if: $youtube is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1638288389/youtube_jy7yzc.png
width: 24
height: auto
link: $youtube
--- ftd.image:
if: $instagram is not null
src: https://res.cloudinary.com/dphj6havg/image/upload/v1638288389/instagram_cxakmn.png
width: 24
height: auto
link: $instagram
-- ftd.row featured-post:
caption title:
string date:
string image:
padding-vertical: 30
padding-horizontal: 24
border-radius: 6
border-color: #eaecee
border-width: 1
background-color: $neutral
spacing: 10
--- ftd.column:
width: percent 75
spacing: 10
--- ftd.text: $title
size: 18
line-height: 26
style: bold
--- ftd.text: $date
size: 14
color: #000c2d
--- container: ftd.main
--- ftd.column:
width: percent 25
--- ftd.image:
src: $image
width: fill
height: auto
-- ftd.column footer:
padding-horizontal: 100
padding-horizontal if $mobile: 15
padding-vertical : 20
width: fill
--- ftd.row:
padding-vertical: 20
border-color: $neutral-400
border-color if $ftd.dark-mode:$neutral-600
border-top: 1
width: fill
id: footer-links
spacing: 50
--- ftd.text:
text: $copyright-text
size: 13
padding-vertical: 20
text-align: center
width: fill
color: $neutral-800
color if $ftd.dark-mode: $neutral
-- ftd.column post-summary:
caption title:
body body:
string published-date:
string link:
string cover-image:
width: fill
max-width: 700
position: center
--- ftd.column:
padding-vertical: 30
spacing: 10
id: info
--- ftd.row:
background-image: $cover-image
width: fill
height: 260
--- container: info
--- ftd.text: $title
size: 32
line-height: 40
style: medium
color: #595959
color if $ftd.dark-mode: $neutral
font: Inter
padding-top: 20
link: $link
--- ftd.text: $published-date
size: 14
line-height: 24
color: #9D9D9D
color if $ftd.dark-mode: $neutral
font: Inter
--- ftd.text: $body
size: 16
line-height: 24
color: #3A3A3A
color if $ftd.dark-mode: $neutral-200
font: Inter
-- ftd.column content:
width: fill
max-width: 900
padding-horizontal: 100
padding-horizontal if $mobile: 15
padding-vertical: 30
spacing: 30
min-height: 600
open: true
-- ftd.image cover-section:
string src:
width: fill
height: auto
src: $src