-
Notifications
You must be signed in to change notification settings - Fork 80
/
index.yml
594 lines (521 loc) · 34.7 KB
/
index.yml
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
layout: layouts/landing.vto
title: Lume, the static site generator for Deno
description: Support for multiple file formats like Markdown, YAML, JavaScript, TypeScript, JSX, Nunjucks etc.
header:
title: The <span>fast & flexible</span> static site generator for Deno
install:
title: "Run the following to [setup Lume](./docs/overview/installation.md):"
code: deno run -A https://lume.land/init.ts
url: /docs/getting-started/your-first-page/
companies:
title: "Lume is used by some companies and organizations like:"
items:
- name: Deno Company
url: https://github.com/denoland/deno-docs
logo: |
<svg width="131" height="34" viewBox="0 0 131 34" fill="var(--logo-color)" xmlns="http://www.w3.org/2000/svg">
<path d="M17 0c9.389 0 17 7.611 17 17s-7.611 17-17 17S0 26.389 0 17 7.611 0 17 0Z" fill="var(--logo-color-black)"/>
<path fill="var(--logo-color-white)" d="M15.636 1.787a15.27 15.27 0 0 0-1.578.223l-.11.022-1.053 3.9-.005.02a.83.83 0 0 0 1.602.433l.006-.02 1.129-4.184.005-.02a.826.826 0 0 0 .004-.374ZM7.503 6.278a.83.83 0 0 1 1.602.432l-.005.02-1.13 4.184-.005.02a.83.83 0 0 1-1.602-.432l.005-.02 1.129-4.184.006-.02ZM22.008 7.069a.83.83 0 0 1 1.602.432l-.005.02-.887 3.287-.073-.054a9.29 9.29 0 0 0-1.401-.854l.758-2.811.006-.02ZM25.802 5.499l.222-.823.098.073c.456.34.892.705 1.308 1.093l-.025.09-.005.02a.83.83 0 0 1-1.603-.433l.005-.02ZM19.456 1.923l-.4 1.484-.005.02a.83.83 0 0 0 1.602.432l.006-.02.421-1.561a15.182 15.182 0 0 0-1.506-.335l-.118-.02ZM15.607 25.883a.83.83 0 0 1 1.532-.146l.025.122.039.195.027.136-.004.031a.842.842 0 0 1-.017.095l-.005.02-1.13 4.183-.005.02a.83.83 0 0 1-1.602-.432l.005-.02 1.129-4.184.005-.02ZM8.752 21.01a.836.836 0 0 0-.052.13l-.008.026-1.129 4.184-.005.02a.83.83 0 0 0 1.603.433l.005-.02 1.024-3.794a7.507 7.507 0 0 1-1.438-.98ZM5.048 16.764a.83.83 0 0 1 1.602.432l-.005.02L5.516 21.4l-.005.02a.83.83 0 0 1-1.603-.433l.005-.02 1.13-4.183.005-.02ZM31.373 15.248a.83.83 0 0 0-1.012.566l-.006.02-1.129 4.183-.005.02a.83.83 0 0 0 1.602.433l.006-.02 1.129-4.184.005-.02a.83.83 0 0 0-.59-.997ZM1.829 15.224c.225-1.951.827-3.84 1.773-5.562a.83.83 0 0 1 .786 1.026l-.005.02-1.13 4.184-.005.02a.83.83 0 0 1-1.42.312ZM28.514 9.69a.83.83 0 0 0-1.013.566l-.005.02-1.129 4.184-.005.02a.83.83 0 0 0 1.602.432l.006-.02 1.129-4.184.005-.02a.83.83 0 0 0-.59-.997ZM10.983 27.909a.83.83 0 0 1 1.602.432l-.005.02-.808 2.994-.113-.041a15.167 15.167 0 0 1-1.428-.619l.746-2.766.006-.02Z"/>
<path fill="var(--logo-color-white)" fill-rule="evenodd" clip-rule="evenodd" d="M16.336 9.623c-4.943 0-8.789 3.112-8.789 6.982 0 3.656 3.538 5.99 9.024 5.873.466-.01.6.303.753.725.127.355.435 1.982.724 3.502l.16.848.043.22c.277 1.45.555 2.907.77 4.368 3.582-.473 6.894-2.243 9.32-4.911l-2.588-9.653c-.645-2.332-1.399-4.48-3.394-6.04-1.606-1.256-3.645-1.914-6.023-1.914Zm2.125 3.857a1.062 1.062 0 1 0-2.125 0 1.062 1.062 0 0 0 2.125 0Z" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M48 7v20.641h10.12c2.387 0 4.428-.382 6.128-1.154 1.694-.772 2.991-1.926 3.899-3.457.907-1.532 1.358-3.44 1.358-5.725 0-2.284-.457-4.192-1.358-5.723-.902-1.532-2.2-2.68-3.9-3.44C62.555 7.382 60.508 7 58.12 7H48Zm9.906 16.254H53.75V11.357h4.155c.883 0 1.681.115 2.382.358.7.243 1.298.602 1.791 1.07a4.55 4.55 0 0 1 1.115 1.713c.25.669.378 1.446.378 2.328v.99c0 .863-.128 1.635-.378 2.315a4.364 4.364 0 0 1-1.115 1.714c-.493.461-1.09.808-1.791 1.05-.707.238-1.499.36-2.382.36ZM75.939 27.113c1.437.59 3.15.887 5.135.887l.006-.006c1.365 0 2.602-.14 3.704-.407 1.103-.274 2.053-.663 2.845-1.173.792-.51 1.402-1.136 1.822-1.878.42-.741.634-1.58.634-2.521h-5.24a2.114 2.114 0 0 1-.316 1.05 2.52 2.52 0 0 1-.798.785 4.299 4.299 0 0 1-1.176.51c-.439.122-.92.182-1.444.182-.926 0-1.7-.14-2.321-.419a2.933 2.933 0 0 1-1.402-1.264c-.316-.559-.487-1.264-.53-2.102h13.288v-1.173c0-1.865-.36-3.397-1.085-4.6-.719-1.203-1.779-2.09-3.162-2.674-1.389-.577-3.1-.868-5.032-.868-1.931 0-3.594.298-5.001.9-1.408.6-2.492 1.512-3.254 2.733-.761 1.228-1.145 2.729-1.145 4.63 0 1.902.384 3.464 1.157 4.685.774 1.228 1.877 2.133 3.315 2.723Zm8.693-9.182h-7.737c.098-.638.317-1.184.646-1.634.329-.456.786-.796 1.37-1.04.58-.236 1.298-.358 2.139-.358.518 0 1 .067 1.444.195.445.127.822.322 1.145.583a2.628 2.628 0 0 1 .737.948c.17.37.256.808.256 1.306Z" /><path d="M92.753 27.641V11.806h4.277l.36 2.437h.243a6.722 6.722 0 0 1 1.67-1.58 7.17 7.17 0 0 1 2.064-.917 8.736 8.736 0 0 1 2.291-.298c1.346 0 2.474.225 3.387.674a4.532 4.532 0 0 1 2.078 2.042c.469.911.706 2.066.706 3.47V27.64h-5.269v-9.284c0-.073-.002-.144-.005-.214a4 4 0 0 0-.083-.673 3.233 3.233 0 0 0-.107-.39 2.42 2.42 0 0 0-.555-.917 1.99 1.99 0 0 0-.388-.302 2.583 2.583 0 0 0-.531-.239 3.997 3.997 0 0 0-1.249-.182c-.683 0-1.298.152-1.852.45a3.456 3.456 0 0 0-1.31 1.215c-.323.51-.481 1.094-.481 1.756v8.774h-5.24l-.006.006Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M116.494 27.082c1.414.614 3.095.918 5.045.918 1.943 0 3.63-.304 5.044-.918 1.42-.607 2.51-1.525 3.271-2.746.762-1.228 1.146-2.765 1.146-4.63 0-1.866-.384-3.41-1.146-4.63-.767-1.222-1.858-2.133-3.271-2.735-1.414-.601-3.095-.9-5.044-.9-1.95 0-3.631.299-5.045.9-1.419.602-2.51 1.513-3.271 2.734-.762 1.228-1.146 2.765-1.146 4.63 0 1.866.384 3.41 1.146 4.63.767 1.222 1.858 2.134 3.271 2.747Zm7.347-3.256c-.609.34-1.376.51-2.302.51-.945 0-1.718-.17-2.322-.51a3.17 3.17 0 0 1-1.34-1.44c-.292-.62-.438-1.362-.438-2.225v-.869c0-.857.146-1.604.438-2.236a3.054 3.054 0 0 1 1.34-1.44c.604-.334 1.402-.498 2.322-.498.919 0 1.687.17 2.302.498a3.026 3.026 0 0 1 1.359 1.44c.293.626.439 1.373.439 2.236v.87c0 .862-.146 1.604-.439 2.223-.292.62-.743 1.1-1.359 1.44Z" />
</svg>
- name: IBM
url: https://github.com/DS4SD/DS4SD.github.io
logo: |
<svg width="76" height="30" viewBox="0 0 76 30" fill="var(--logo-color)" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 30h14.708v-1.91H0V30Zm0-4.012h14.708v-1.91H0v1.91Zm4.203-4.011h6.304v-1.91H4.203v1.91Zm0-4.01h6.304v-1.911H4.203v1.91Zm0-4.012h6.304v-1.91H4.203v1.91Zm-.001-4.012h6.304v-1.91H4.202v1.91ZM0 5.932h14.708v-1.91H0v1.91ZM0 1.92h14.708V.01H0v1.91Zm16.81 26.17V30h15.472a7.989 7.989 0 0 0 5.194-1.91H16.809Zm0-4.013v1.91h22.419a8 8 0 0 0 .797-1.91H16.809Zm4.201-2.101h6.304v-1.91h-6.304v1.91Zm16.605-5.921H21.011v1.91H39.16a8.086 8.086 0 0 0-1.543-1.91Zm-16.604-4.011v1.909h16.675a8.075 8.075 0 0 0 1.54-1.91l-18.215.001Zm19.013-6.113a7.921 7.921 0 0 0-.797-1.91H16.809v1.91h23.216Zm-2.55-4.011A7.988 7.988 0 0 0 32.283.01H16.809v1.91h20.667ZM21.012 9.943h6.304v-1.91h-6.304v1.91Zm12.226 0h6.834a8.067 8.067 0 0 0 .233-1.91h-7.067v1.91Zm0 10.124v1.91h7.067c0-.66-.084-1.298-.233-1.91h-6.834ZM53.866 0H42.023v1.91H54.53L53.866 0ZM42.024 30h10.51v-1.91h-10.51V30Zm0-4.012h10.51v-1.911h-10.51v1.91Zm4.203-4.014h6.307v-1.91h-6.307v1.91Zm0-4.012h6.307V16.05h-6.307v1.91ZM65.145 30h10.51v-1.91h-10.51V30Zm0-4.012h10.51v-1.911h-10.51v1.91Zm0-4.014h6.306v-1.91h-6.306v1.91Zm-.001-4.012h6.306V16.05h-6.306v1.91Zm.001-4.013h6.306v-1.912H59.63l-.663 1.911h5.534l.643-1.819v1.82Zm-7.099-1.912H46.228v1.912h6.306V12.13l.643 1.82h5.534l-.665-1.912ZM71.45 8.026H61.023l-.663 1.91h11.09v-1.91ZM63.806 0l-.662 1.91h12.51V0H63.806Zm-4.971 30 .675-1.91h-1.343l.668 1.91Zm-1.41-4.012h2.827l.675-1.911h-4.176l.675 1.91Zm-1.416-4.013h5.66l.675-1.912h-7.009l.674 1.912Zm-1.416-4.013h8.493l.674-1.911h-9.843l.675 1.91Zm-8.366-8.026h11.09l-.662-1.911H46.227v1.91Zm15.524-4.013h13.903v-1.91H62.415l-.664 1.91Zm-6.488-1.91H42.024v1.91h13.902l-.663-1.91Z"/></svg>
- name: CloudCannon
url: https://github.com/CloudCannon/platform-documentation/
logo: |
<svg width="194" height="26" viewBox="0 0 194 26" fill="var(--logo-color)" xmlns="http://www.w3.org/2000/svg"><path d="M14.813 21.342c.18.103.374.206.568.297 1.445.67 2.116 1.11 2.116 2.038 0 .994-.813 1.807-1.807 1.807-.774 0-1.419-.49-1.677-1.174a5.134 5.134 0 0 1-3.678 1.548 5.16 5.16 0 0 1-5.16-5.161c0-.271.038-.542.077-.813-2.646-.774-4.684-2.98-5.149-5.742-.064-.4-.103-.8-.103-1.213 0-.413.039-.813.103-1.213.478-2.748 2.503-4.968 5.149-5.742l-.005-.034v-.006a5.318 5.318 0 0 1-.073-.773A5.16 5.16 0 0 1 10.335 0c1.433 0 2.736.594 3.678 1.548A1.793 1.793 0 0 1 15.69.374c.994 0 1.807.813 1.807 1.807 0 1.006-.671 1.445-2.116 2.116-.142.068-.282.14-.42.216l-.148.08a9.77 9.77 0 0 0-.723.439c-.438.284-.838.62-1.226.968a.126.126 0 0 0-.032.026c-.01.01-.02.02-.032.026-.155.154-.31.31-.452.464l-.058.065-.01.01c-.015.02-.031.038-.048.054-.06.076-.123.15-.186.224a6.247 6.247 0 0 0-.278.344 9.593 9.593 0 0 0-1.936 5.755c0 2.078.68 4.1 1.936 5.755a6.388 6.388 0 0 0 .58.696c.107.126.22.237.334.35l.118.115a.125.125 0 0 1 .032.026c.01.01.02.019.032.026a9.847 9.847 0 0 0 1.285 1.004l.012.008a.532.532 0 0 0 .071.046l.123.077.122.077.168.097.044.026.124.071ZM32.748 6.026c2.646.774 4.684 2.98 5.149 5.742a7.69 7.69 0 0 1 0 2.503c-.478 2.748-2.503 4.968-5.149 5.742l.005.034v.006c.038.256.073.503.073.773a5.16 5.16 0 0 1-7.156 4.757 5.158 5.158 0 0 1-1.683-1.144 1.793 1.793 0 0 1-1.677 1.174 1.812 1.812 0 0 1-1.807-1.806c0-1.007.671-1.446 2.116-2.117.143-.066.28-.14.42-.216l.148-.08a9.77 9.77 0 0 0 .723-.439c.434-.29.844-.613 1.226-.968a.122.122 0 0 0 .032-.026c.01-.01.02-.019.032-.025.155-.155.31-.31.452-.465l.058-.064a.742.742 0 0 1 .058-.065c.044-.056.091-.111.137-.166l.049-.058c.097-.114.192-.226.278-.344 1.2-1.6 1.936-3.6 1.936-5.755a9.51 9.51 0 0 0-1.936-5.754 6.375 6.375 0 0 0-.522-.633l-.02-.023a5.136 5.136 0 0 0-.49-.506.128.128 0 0 1-.032-.026.124.124 0 0 0-.032-.025c-.386-.35-.795-.674-1.226-.968a.53.53 0 0 1-.071-.045l-.007-.005c-.02-.014-.04-.028-.064-.04a3.3 3.3 0 0 0-.123-.078 4.026 4.026 0 0 1-.122-.077l-.168-.097a7.864 7.864 0 0 0-.735-.394c-1.433-.683-2.117-1.122-2.117-2.116 0-.993.813-1.806 1.807-1.806.774 0 1.419.49 1.677 1.174A5.136 5.136 0 0 1 27.665.052a5.16 5.16 0 0 1 5.16 5.161c0 .27-.038.542-.077.813ZM43.282 13.56c0-3.548 2.915-6.464 6.591-6.464 3.549 0 5.197 2.535 5.197 2.535l-2.155 2.155s-1.14-1.52-3.042-1.52c-1.774 0-3.17 1.393-3.17 3.295s1.394 3.295 3.17 3.295c1.902 0 3.042-1.52 3.042-1.52l2.155 2.154s-1.648 2.536-5.197 2.536c-3.676 0-6.59-2.917-6.59-6.465l-.001-.001ZM57.353 2.026h3.423v17.747h-3.423V2.026Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M63.436 13.56c0-3.548 2.914-6.464 6.59-6.464 3.677 0 6.591 2.914 6.591 6.465 0 3.55-2.914 6.465-6.59 6.465-3.677 0-6.591-2.918-6.591-6.466Zm9.76 0c0-1.901-1.394-3.295-3.17-3.295-1.775 0-3.17 1.394-3.17 3.296s1.395 3.295 3.17 3.295c1.776 0 3.17-1.395 3.17-3.296Z" /><path d="M79.155 14.828V7.35h3.423v6.97c0 1.522.887 2.409 2.28 2.409 1.522 0 2.662-1.14 2.662-2.79V7.35h3.423v12.423H87.52v-1.775h-.127s-1.268 2.028-3.677 2.028c-2.534 0-4.561-2.028-4.561-5.197Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M93.477 13.56c0-3.801 2.661-6.464 5.578-6.464 2.661 0 3.929 2.027 3.929 2.027h.128V2.026h3.423v17.747h-3.423v-1.775h-.128s-1.268 2.028-3.93 2.028c-2.916 0-5.577-2.663-5.577-6.466Zm9.761 0c0-1.901-1.394-3.295-3.17-3.295s-3.17 1.394-3.17 3.296 1.394 3.295 3.17 3.295 3.17-1.395 3.17-3.296Z" /><path d="M109.194 13.56c0-3.548 2.915-6.464 6.591-6.464 3.549 0 5.198 2.535 5.198 2.535l-2.155 2.155s-1.141-1.52-3.043-1.52c-1.774 0-3.169 1.393-3.169 3.295s1.393 3.295 3.169 3.295c1.902 0 3.043-1.52 3.043-1.52l2.155 2.154s-1.649 2.536-5.198 2.536c-3.674 0-6.591-2.918-6.591-6.466Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M122.504 16.477c0-2.027 1.393-3.575 3.676-3.98l3.929-.71c-.127-.888-.887-1.65-2.155-1.65-1.774 0-2.789 1.394-2.789 1.394l-2.027-2.027s1.774-2.408 5.069-2.408c3.17 0 5.325 2.155 5.325 4.944v7.733h-3.423v-1.521h-.127s-1.268 1.774-3.676 1.774c-2.281 0-3.802-1.521-3.802-3.55Zm7.605-2.282-2.789.506c-.887.152-1.393.634-1.393 1.268 0 .76.506 1.268 1.521 1.268 1.521 0 2.661-1.14 2.661-2.79v-.252Z" /><path d="M136.828 7.35h3.422v1.775h.128s1.268-2.028 3.676-2.028c2.536 0 4.563 2.028 4.563 5.197v7.479h-3.423V12.8c0-1.521-.887-2.408-2.282-2.408-1.521 0-2.662 1.14-2.662 2.789v6.59h-3.422V7.35ZM151.911 7.35h3.423v1.775h.128s1.267-2.028 3.676-2.028c2.535 0 4.563 2.028 4.563 5.197v7.479h-3.423V12.8c0-1.521-.887-2.408-2.282-2.408-1.522 0-2.662 1.14-2.662 2.789v6.59h-3.423V7.35Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M166.235 13.56c0-3.548 2.915-6.464 6.591-6.464s6.591 2.914 6.591 6.465c0 3.55-2.915 6.465-6.591 6.465s-6.591-2.918-6.591-6.466Zm9.761 0c0-1.901-1.394-3.295-3.17-3.295s-3.17 1.394-3.17 3.296 1.394 3.295 3.17 3.295 3.17-1.395 3.17-3.296Z" /><path d="M181.953 7.35h3.422v1.775h.128s1.268-2.028 3.676-2.028c2.536 0 4.563 2.028 4.563 5.197v7.479h-3.423V12.8c0-1.521-.887-2.408-2.282-2.408-1.521 0-2.662 1.14-2.662 2.789v6.59h-3.422V7.35ZM24.204 10.827a5.627 5.627 0 0 1-3.045 7.352 5.622 5.622 0 0 1-2.153.427 5.621 5.621 0 0 1-5.625-5.625 5.622 5.622 0 0 1 7.778-5.199 5.622 5.622 0 0 1 3.046 3.045Z"/></svg>
- name: Open Innovations
url: https://github.com/open-innovations
logo: |
<svg width="40" height="40" viewBox="0 0 40 40" fill="var(--logo-color)" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M22.5 39.845c-.819.102-1.653.155-2.5.155C8.954 40 0 31.046 0 20S8.954 0 20 0s20 8.954 20 20c0 6.316-2.928 11.948-7.5 15.613V25a2.5 2.5 0 0 0-2.5-2.5h-5a2.5 2.5 0 0 0-2.5 2.5v14.845Zm1.465-19.434a5 5 0 1 1 7.07-7.071 5 5 0 0 1-7.07 7.07Z"/></svg>
usage:
- title: Supports any template engine
description: |
Create pages using Markdown, Vento, Nunjucks, Liquid, JSX, TSX, JavaScript, TypeScript, Pug, Eta… or add your own engine easily.
code: |
<lume-code>
```md { title="page.md" }
# Galician municipalities
- O Pino
- Tordoia
- Ordes
- Cedeira
```
```vento { title="page.vto" }
<h1>{{ title }}</h1>
<ul>
{{ for item of items }}
<li>{{ item }}</li>
{{ /for }}
</ul>
```
```html { title="page.njk" }
<h1>{{ title }}</h1>
<ul>
{% for item in items %}
<li>{{ item }}</li>
{% endfor %}
</ul>
```
```jsx { title="page.jsx" }
export default function ({ title, items }) {
return <>
<h1>{ title }</h1>
<ul>
{ items.map((item) => <li>{ item }</li>)}
</ul>
</>;
}
```
```js { title="page.page.js" }
export default function ({ title, items }) {
return `
<h1>${ title }</h1>
<ul>
${ items.map((item) => `<li>${ item }</li>`)}
</ul>
`;
}
```
```ts { title="page.page.ts" }
interface Data {
title: string;
items: string[];
}
export default function ({ title, items }: Data): string {
return `
<h1>${ title }</h1>
<ul>
${ items.map((item) => `<li>${ item }</li>`)}
</ul>
`;
}
```
```yml { title="page.pug" }
h1= title
ul
each item in items
li= item
```
```html { title="page.eta" }
<h1><%= title %></h1>
<ul>
<% for (const item of items) { %>
<li><%= item %></li>
<% }) %>
</ul>
```
</lume-code>
- title: Store the data in your favorite format
description: |
Store your data using static formats like JSON or YAML. Use JavaScript or TypeScript to get the data from a Database or API.
code: |
<lume-code>
```yaml { title="_data.yml" }
title: Galician municipalities
items:
- O Pino
- Tordoia
- Ordes
- Cedeira
```
```json { title="_data.json" }
{
"title": "Galician municipalities",
"items": [
"O Pino",
"Tordoia",
"Ordes",
"Cedeira"
]
}
```
```js { title="_data.js" }
export const title = "Galician municipalities";
export const items = [
"O Pino",
"Tordoia",
"Ordes",
"Cedeira"
];
```
```ts { title="_data.ts" }
const title = "Galician municipalities";
const response = await fetch("https://example.com/galician-minicipalities.json");
const items = (await response.json()) as string[];
export { title, items };
```
</lume-code>
- title: Process HTML pages and assets
description: |
Processors can compile and optimize assets like CSS or JavaScript. They can also transform the HTML code using the DOM API.
code: |
<lume-code>
```js { title="Process assets" }
site.process([".css"], (files) => {
for (const file of files) {
file.content = customTransform(file.content);
}
})
```
```js { title="DOM API" }
site.process([".html"], (pages) => {
for (const page of pages) {
const externalLinks = page.document.querySelectorAll('a[href^="http"]');
externalLinks.forEach((link) => {
link.setAttribute("target", "_blank");
});
}
})
```
</lume-code>
- title: Run your scripts and listen for events
description: |
You can create custom scripts like in NPM and execute them from the CLI or after any event.
code: |
<lume-code>
```js { title="Scripts and events" }
// Create a script and run it after build
site.script("deploy", "rsync -r _site/ user@host.com:/site");
site.addEventListener("afterBuild", "deploy");
// Or run arbitrary code
site.addEventListener("afterBuild", () => console.log("site build"));
```
</lume-code>
- title: And everything with a clean and intuitive API
description: |
Configure your site build in a single _config.ts or _config.js file [with plugins](/plugins/) and a simple and clean API.
code: |
<lume-code>
```ts { title="_config.ts" }
import lume from "lume/mod.ts";
const site = lume();
export default site;
```
```ts { title="_config.ts (with plugins)" }
import lume from "lume/mod.ts";
import lightningcss from "lume/plugins/lightningcss.ts";
import esbuild from "lume/plugins/esbuild.ts";
import svgo from "lume/plugins/svgo.ts";
import jsx from "lume/plugins/jsx.ts";
import date from "lume/plugins/date.ts";
const site = lume();
site.use(lightningcss())
.use(esbuild())
.use(svgo())
.use(jsx())
.use(date());
export default site;
```
</lume-code>
features:
- title: HTTPS imports
img: /img/http-imports.svg
description: Forget about a node_modules folder with thousands of dependencies. Lume is built with [Deno](https://deno.com/) and HTTPS imports to download only what you use. Clean, fast and secure.
- title: Zero runtime overhead
img: /img/zero-runtime.svg
description: Lume only exports your code. It doesn't generate any extra client-side JavaScript code.
- title: Deploy anywhere
img: /img/deploy.svg
description: Static sites can be hosted (for free) anywhere GitHub/GitLab Pages, Deno Deploy, Vercel, Netlify… [Explore ways to deploy](/docs/advanced/deployment.md)
- title: Easy to extend
img: /img/extend.svg
description: Want to use a new template engine or use a new JavaScript compiler? Lume allows you to use whatever you want. [Explore the official plugins](/plugins/)
examples:
title: Built with Lume
more:
text: See more examples
href: /showcase/
support:
title: Lume is sponsored by
sponsors:
- name: Óscar Otero (creator & maintainer)
url: https://oscarotero.com/
img: /img/avatars/supporters/oscar.webp
- name: SheetJS
url: https://sheetjs.com/
img: /img/avatars/supporters/sheetjs.webp
amount: 50
- name: Chad Henry
url: https://simplerethink.com/
img: /img/avatars/supporters/chadhenry.webp
amount: 50
- name: Rob Blake
url: https://twitter.com/treb0r
img: /img/avatars/supporters/treb0r.webp
amount: 10
recurrent: true
- name: Charles Burgess
url: https://cvburgess.com/
img: /img/avatars/supporters/cvburgess.webp
amount: 5
recurrent: true
- name: Daniel Saunders
url: https://daniel-saunders.com/
img: /img/avatars/supporters/dsaunders.webp
amount: 1
recurrent: true
- name: Miguel Pinto
url: https://opencollective.com/miguelslp
img: /img/avatars/supporters/miguelpinto.webp
amount: 1
recurrent: true
- name: eSolia
url: https://esolia.com/
img: /img/avatars/supporters/esolia.webp
amount: 10
recurrent: true
- name: Kevin Tortolini
url: https://opencollective.com/ktortolini
img: /img/avatars/supporters/kevintortolini.webp
amount: 5
recurrent: true
- name: Pavel Zinoviev
url: https://mastodon.social/@pavelzinoviev
img: /img/avatars/supporters/pavelzinoviev.webp
amount: 3
recurrent: true
- name: SMM OWL
url: https://opencollective.com/smm-owl
img: /img/avatars/supporters/smmowl.webp
amount: 1
recurrent: true
- name: famebot
url: https://opencollective.com/famebot
img: /img/avatars/supporters/famebot.webp
amount: 10
recurrent: true
- name: Dave Richardson
url: https://github.com/djradon
img: /img/avatars/supporters/djradon.webp
amount: 4
recurrent: true
past_title: Lovely past sponsors
past_sponsors:
- name: Emil Sadek
url: https://emilsadek.com/
img: /img/avatars/supporters/emilsadek.webp
- name: Androw Nash
url: https://audrow.github.io/
img: /img/avatars/supporters/audrow.webp
- name: Reese Schultz
url: https://reese.codes/
img: /img/avatars/supporters/reeseschultz.webp
- name: Jobs in JS
url: https://jobsinjs.com/
img: /img/avatars/supporters/jobsinjs.webp
- name: Jrson
url: https://jrson.me/
img: /img/avatars/supporters/jrson.webp
- name: Tobias Schmidt
url: https://tobiasschmidt.me/
img: /img/avatars/supporters/tobias.webp
- name: Yohan Brook
url: https://johan.im/
img: /img/avatars/supporters/johan.webp
- name: Daniel Mon Chit
url: https://opencollective.com/daniel-mon-chit
img: /img/avatars/supporters/daniel-mc.webp
- name: Yuto Oguchi
url: https://aiotter.com/
img: /img/avatars/supporters/aiotter.webp
- name: Victor Freire
url: https://opencollective.com/victor-freire
img: /img/avatars/supporters/victorfreire.webp
- name: Hendrik Mans
url: https://hendrik.mans.de/
img: /img/avatars/supporters/hmans.webp
- name: Jon Paul Uritis
url: https://jonpauluritis.com/
img: /img/avatars/supporters/jppope.webp
- name: Romuald Bulyshko
url: https://r13o.com/
img: /img/avatars/supporters/romuald.webp
- name: Noah Altunian
url: https://altun.cc/
img: /img/avatars/supporters/naltun.webp
contributors_title: And built by the following people
contribute:
title: How to contribute?
description: |
- Star the [repo in GitHub](https://github.com/lumeland/lume) or vote in [Product Hunt](https://www.producthunt.com/posts/lume-2).
- Support this project by [sponsoring its creator](https://github.com/sponsors/oscarotero) or [the project](https://opencollective.com/lume).
- Fork the repo and [contribute](https://github.com/lumeland/lume/graphs/contributors) fixing bugs or adding new features.
- Help to [improve the docs](https://github.com/lumeland/lume.land).
- Spread to the world your love for Lume in a tweet, post or any kind of publication (and let me know, [so I can include it in this page](#testimonials))
- Get help and propose ideas [at Discord](https://discord.gg/YbTmpACHWB).
testimonials:
title: What people say?
quotes:
- url: https://twitter.com/deno_land/status/1810751631707029829
author: Deno (@deno_land)
avatar: /img/avatars/testimonials/deno.webp
date: July 9, 2024
text: we improved our core web vitals drastically with one simple trick💡️<br><br>not using client-side rendering<br><br>(we moved our docs from docusaurus to <a href="https://lume.land">lume.land</a>) <img src="/img/covers/core_web_vitals.webp">
- url: https://open-innovations.org/blog/2024-07-05-building-the-general-election-hexmaps
author: Giles Dring
avatar: /img/avatars/testimonials/gdring.webp
date: July 5, 2024
text: Building the General Election Hexmaps
type: article
- url: https://desu.social/@pixel/112155492135005017
author: Andy (@pixel@desu.social)
avatar: /img/avatars/testimonials/pixel.webp
date: March 25, 2024
text: |
Once again big thanks to <a href="https://pony.social/@cadey">@cadey</a> for showing me <a href="https://fosstodon.org/@lume">@lume</a>.<br>
<br>
Out of all static site builders I used in the past few years, this was the most smooth and pleasant experience of building a website. :pixel_love:
- url: https://daniel-saunders.com/posts/notes/new-site-design-for-2024/
author: Daniel Saunders (daniel-saunders.com)
avatar: /img/avatars/testimonials/daniel_saunders.webp
date: January 20, 2024
text: New Site Design for 2024
type: article
- url: https://twitter.com/DogaArmangil/status/1742463592115368416
author: Doğa Armangil (@DogaArmangil)
avatar: /img/avatars/testimonials/doga.webp
date: January 3, 2024
text: |
𝗟𝘂𝗺𝗲 for <a href="https://twitter.com/deno_land">@deno_land</a> is probably the best <a href="https://twitter.com/hashtag/StaticSiteGenerator">#StaticSiteGenerator</a> ATM.<br><br>V2 is out now with Vento as the default template engine. <br><br>Vento is an improvement over Nunjucks (still available as a plugin):<br><br>
➜ JavaScript & async support,<br>
➜ Less boilerplate.
- url: https://www.youtube.com/watch?v=5lj0kCmC7L8
author: CloudCannon
avatar: /img/avatars/testimonials/cloudcannon.webp
date: December 13, 2023
text: "Lume, the static site generator for Deno – Static Feedback #12"
cover: /img/covers/video_static_feedback.webp
type: video
- url: https://thomasorus.com/from-static-site-generator-to-static-site-processor.html
author: Thomasorus (thomasorus.com)
avatar: /img/avatars/testimonials/thomasorus.webp
date: March 6, 2023
text: From static site generator to static site processor
type: article
- url: https://paulrobertlloyd.com/2023/054/a1/lume/
author: Paul Robert Lloyd (paulrobertlloyd.com)
avatar: /img/avatars/testimonials/paulrobertlloyd.webp
date: Februrary 23, 2023
text: Thinking out loud about static site generators
type: article
- url: https://twitter.com/m_giron/status/1625883711169339392
author: Mario Girón (@m_giron)
avatar: /img/avatars/testimonials/m_giron.webp
date: February 15, 2023
text: |
He descubierto <a href="https://twitter.com/hashtag/lume">#lume</a> para crear sitios estáticos con <a href="https://twitter.com/hashtag/deno">#deno</a>. Es una pasada la flexibilidad que te ofrece, la cantidad de cosas que puedes conseguir y lo divertido que es <a href="https://t.co/JtA3g86u14">https://t.co/JtA3g86u14</a>
- url: https://www.youtube.com/watch?v=_Hz2Xj69UyQ
author: Garage de ideas
avatar: /img/avatars/testimonials/garage_de_ideas.webp
date: February 14, 2023
text: Lume - Deno Static Site Generator
cover: /img/covers/video_lume_garage_de_ideas.webp
type: video
- url: https://twitter.com/angeldollface66/status/1624559604460912641
author: 🎀 𖤐𝔸ℕ𝔾𝔼𝕃 𝔻𝕆𝕃𝕃𝔽𝔸ℂ𝔼𖤐 🎀 (@angeldollface66)
avatar: /img/avatars/testimonials/angeldollface.webp
date: February 12, 2023
text: |
Quick PSA: Lume, an SSG by <a href="https://twitter.com/misteroom">@misteroom</a>, really helped me rebuild my site in an easy and safe way. Using three.js and Lume side-by-side was easy, flexible, and really fun. Thank you so much for Lume.❤️
- url: https://www.youtube.com/watch?v=lQb_u5X0gck
author: denolab
avatar: /img/avatars/testimonials/denolab.webp
date: January 16, 2023
text: Lume - Deno Static Site Generator
cover: /img/covers/video_lume_denolab.webp
type: video
- url: https://twitter.com/DogaArmangil/status/1602879934095048704
author: Doğa Armangil (@DogaArmangil)
avatar: /img/avatars/testimonials/doga.webp
date: December 14, 2022
text: |
Time to ditch <a href="https://twitter.com/jekyllrb">@jekyllrb</a> as my preferred <a href="https://twitter.com/hashtag/StaticSiteGenerator">#StaticSiteGenerator</a>. <br><br>Standout features of Lume, besides running on <a href="https://twitter.com/deno_land">@deno_land</a>'s TypeScript & JavaScript runtime:<br>▶︎ Pages can be written in YAML containing an outline of the page contents<br>▶︎ Nested layouts
- url: https://hmans.co/posts/lume-is-great/
author: Hendrik Mans (hmans.co)
avatar: /img/avatars/testimonials/hmans.webp
date: November 10, 2022
text: Lume is Great and I'm finally at peace.
type: article
- url: https://twitter.com/hmans/status/1590781772371234818
author: Hendrik Mans (@hmans)
avatar: /img/avatars/testimonials/hmans.webp
date: November 10, 2022
text: |
I'm upgrading my review of Lume from "crazy good" to "holy wow, this is the most fun I've had building websites in literally years". It takes the best ideas from Eleventy and then cranks the productivity up to 11. Don't sleep on this one if you're a jaded web dinosaur like me! <a href="https://t.co/XHKLWshU3U">https://t.co/XHKLWshU3U</a>
- url: https://twitter.com/kulak_at/status/1572639244799315968
author: Kacper Kula (@kulak_at)
avatar: /img/avatars/testimonials/kulak_at.webp
date: September 21, 2022
text: |
I’ve spent just 30 minutes playing with Lume Static Site Generator by <a href="https://twitter.com/deno_land">@deno_land</a> and I already love it! It’s blazingly fast and seems to have all features I need out of the box.<a href="https://twitter.com/hashtag/deno">#deno</a> <a href="https://twitter.com/hashtag/typescript">#typescript</a> <a href="https://twitter.com/hashtag/webdev">#webdev</a>
- url: https://www.youtube.com/watch?v=6ld61HU6V6k
author: Coding with Robby
avatar: /img/avatars/testimonials/robby.webp
date: September 20, 2022
text: Getting started with Lume (new Deno static site generator)
cover: /img/covers/video_coding_with_robby.webp
type: video
- url: https://twitter.com/_LautaroLopez/status/1571525610937241603
author: Lauchita. (@_LautaroLopez)
avatar: /img/avatars/testimonials/lautarolopez.webp
date: September 18, 2022
text: |
Que hermoso ver cómo está creciendo el ecosistema de <a href="https://twitter.com/deno_land">@deno_land</a> con cositas tan copadas como Fresh o Lume🦕
- url: https://twitter.com/hashedrock/status/1571478377831501824
author: hashrock (@hashedrock)
avatar: /img/avatars/testimonials/hashedrock.webp
date: September 18, 2022
text: |
Lume触ってみた。コンパクトで使いやすかった <a href="https://t.co/IBdWKpe9BA">https://t.co/IBdWKpe9BA</a> <a href="https://twitter.com/hashtag/zenn">#zenn</a>
- url: https://twitter.com/freeLance0451/status/1557386172120416258
author: freeLance (@freeLance0451)
avatar: /img/avatars/testimonials/freelance.webp
date: August 10, 2022
text: |
OK, falling in love with <a href="https://twitter.com/deno_land">@deno_land</a> and the Lume SSG. So nice not having to worry about node_modules 😄
- url: https://twitter.com/Microflash/status/1551599531615473665
author: Naiyer Asif نیر آصف (@Microflash)
avatar: /img/avatars/testimonials/naiyer.webp
date: July 25, 2022
text: |
I recently redesigned my site (<a href="https://t.co/n9FcC2ATtp">https://t.co/n9FcC2ATtp</a>) with Lume: a lovely static site generator built by <a href="https://twitter.com/misteroom?ref_src=twsrc%5Etfw">@misteroom</a>. Easy, simple and fast to work with. Definitely worth checking out if you're a fan of 11ty on Node.js.
- url: https://twitter.com/tarugoconf/status/1543881979426381824
author: Tarugoconf (@tarugoconf)
avatar: /img/avatars/testimonials/tarugoconf.webp
date: July 4, 2022
text: ¿No habíamos contado que el código de la web de la <a href="https://twitter.com/hashtag/tarugo22?src=hash&ref_src=twsrc%5Etfw">#tarugo22</a> es COMPLETAMENTE OPEN SOURCE? <br>¿Y tampoco que está creada con tecnología gallega? <a href="https://t.co/5hJNkf7otY">https://t.co/5hJNkf7otY</a>
- url: https://twitter.com/dragonwocky/status/1531413299757457408
author: "@dragonwocky"
avatar: /img/avatars/testimonials/dragonwocky.webp
date: May 31, 2022
text: |
Deno is awesome. If you use it right, you'll never want to go back to Node - and Lume (<a href="https://t.co/EIFgNe07Sc">https://t.co/EIFgNe07Sc</a>) does it right: powerful, developer-friendly, super simple, and extremely flexible static site generation.
- url: https://twitter.com/bradenthehair/status/1531357349356654592
author: Braden East (@bradenthehair)
avatar: /img/avatars/testimonials/bradenthehair.webp
date: May 30, 2022
text: Lume is a fantastic tool. It’s more powerful and flexible than any static site generator I’ve used in 5 years of web development.
- url: https://twitter.com/matthewcp/status/1522572060182171649
author: Matthew Phillips (@matthewcp)
avatar: /img/avatars/testimonials/mattew.webp
date: May 6, 2022
text: This is a nice looking static site generator for Deno. Reminds me of 11ty a bit. <a href="https://t.co/EiE4yOHlmS">https://t.co/EiE4yOHlmS</a>
- url: https://twitter.com/automaetopia/status/1420960967534563329
author: "@automaetopia"
avatar: /img/avatars/testimonials/automaetopia.webp
date: July 30, 2021
text: I was having paralysis regarding what static generator to write my website in and I’ve finally decided to settle on Lume (a static generator written in Deno). I like it and it’s easy to configure
- url: https://twitter.com/kuspoes/status/1408642055241302018
author: Poes (@kuspoes)
avatar: /img/avatars/testimonials/kuspoes.webp
date: June 26, 2021
text: tapi sekarang sih pengennya pakai lumeland <a href="https://t.co/v6konf7O0Z">https://t.co/v6konf7O0Z</a>
- url: https://twitter.com/fserb/status/1390404312581410817
author: Fernando Serboncini (@fserb)
avatar: /img/avatars/testimonials/fserb.webp
date: May 6, 2021
text: Personally I migrated from Jekyll to Eleventy to Lume (<a href="https://t.co/aSHo422kxJ">https://t.co/aSHo422kxJ</a>). And I love it. Github pages is fine, if you are building it yourself (not relying on Github's MD parser).