-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmetalsmith2.pdf.html
746 lines (591 loc) · 22.4 KB
/
metalsmith2.pdf.html
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
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Building Static (Web) Sites w/ Metalsmith (Node.js)</title>
<style>
html, body { margin: 0; padding: 0; }
body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
a:link, a:visited { color: black; }
h1 { font-size: 30pt; }
h2 { font-size: 28pt; }
h3 { font-size: 25pt; }
p, li, dt, dd, td, th { font-size: 18pt; }
pre { font-size: 14pt; }
pre.small { font-size: 11pt; }
pre.code {
background-color: azure;
padding: 5px;
}
ul { list-style-type: square; }
.center { text-align: center; }
.slide { page-break-after: always;
min-height: 100mm;
padding: 40px;
border: 1px dotted black;
/*
background: -moz-linear-gradient( top, maroon, red);
*/
}
pre {
padding: 4px 4px 4px 4px;
border-top: #bbb 1px solid;
border-bottom: #bbb 1px solid;
background: #f3f3f3;
}
/*
for princexml (CSS3 paged media support)
@page { size: A4 landscape }
*/
</style>
</head>
<body>
<div class="presentation">
<div class='slide '>
<!-- === begin markdown block ===
generated by markdown/1.2.0 on Ruby 2.1.5 (2014-11-13) [i386-mingw32]
on 2016-03-08 13:27:20 +0100 with Markdown engine kramdown (1.9.0)
using options {}
-->
<!-- _S9SLIDE_ -->
<h1 id="agenda">Agenda</h1>
<ul>
<li>What’s Metalsmith?</li>
<li>Everything is a Plugin</li>
<li>File / Directory Structure</li>
<li>HTML Templates - Handlebars or Nunjucks?</li>
<li>Pages n Posts with Front Matter</li>
<li>Datafiles</li>
<li>HTML Templates - Loops</li>
<li>All Together Now - build.js</li>
<li>Real World Showcase - Node.js Project Site</li>
<li>More Plugins</li>
<li>Write Your Own Plugins</li>
<li>Links, Links, Links</li>
</ul>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="whats-metalsmith">What’s Metalsmith?</h1>
<p>A static site builder in JavaScript (Node.js).</p>
<p><img src="i/staticgen-metalsmith.png" alt="" /></p>
<p>See <a href="http://www.metalsmith.io"><code>metalsmith.io</code></a> »</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---everything-is-a-plugin">Metalsmith - Everything is a Plugin</h1>
<p>Configure file processing build pipeline / chain using plugins</p>
<p>Example - <code>build.js</code>:</p>
<pre><code>Metalsmith(_dirname)
.source( 'src' )
/*******************
add plugins here
******************* /
.destination( 'build' )
.build( function(err) {
if (err) console.log(err);
});
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---everything-is-a-plugin-cont">Metalsmith - Everything is a Plugin (Cont.)</h1>
<p>Example:</p>
<pre><code> .use( metadata({
links: './data/links.json' }))
.use( inPlace({
engine: 'nunjucks',
pattern: '**/*.html' }))
.use( markdown() )
.use( layouts({
engine: 'nunjucks',
directory: './layouts' }))
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---file--directory-structure">Metalsmith - File / Directory Structure</h1>
<pre><code>├── build.js # Metalsmith build script / configuration
├── layouts/
| ├── default.html # master layout template
| ├── page.html # - layout for pages
| └── post.html # - layout for blog posts
└─── src/
├── css/
| └── style.css
├── data/
| └── links.json # datafile (in json)
├── posts/
| ├── 2014-11-11-new-repo-maps.md
| ├── 2014-12-12-new-build-system.md
| └── 2015-08-25-new-season.md
├── about.md # about page (in markdown e.g. md)
└── index.html # front page (in hypertext e.g. html)
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---file--directory-structure----output">Metalsmith - File / Directory Structure - Output</h1>
<p>Use:</p>
<pre><code>$ node build.js
</code></pre>
<p>Resulting in:</p>
<pre><code>└─── build/
├── css/
| └── style.css
├── posts/
| ├── 2014-11-11-new-repo-maps.html
| ├── 2014-12-12-new-build-system.html
| └── 2015-08-25-new-season.html
├── about.html
└── index.html
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---file--directory-structure---output-cont">Metalsmith - File / Directory Structure - Output (Cont.)</h1>
<p><img src="i/staystatic-samplesite.png" alt="" /></p>
<p>(Source: Stay Static Sample Site Showcase - <code>index.html</code>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---html-templates---handlebars-or-nunjucks">Metalsmith - HTML Templates - Handlebars or Nunjucks?</h1>
<p><strong>Handlebars</strong> (web: <a href="http://handlebarsjs.com"><code>handlebarsjs.com</code></a>) - Minimalistic
Mustache-style <code>{{}}</code> “logic-less” templates
(e.g. no arguments for if conditionals or each loops possible,
no nested layouts, no content blocks, no inline macros, etc.)</p>
<pre><code><!DOCTYPE html>
<html>
{{> head }}
<body>
{{> header }}
<div class="main">
{{ contents }}
</div>
{{> footer }}
</body>
</html>
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-handlebars/blob/master/layouts/default.html"><code>staystatic/metalsmith-handlebars/layouts/default.html</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---html-templates---handlebars-or-nunjucks-cont">Metalsmith - HTML Templates - Handlebars or Nunjucks? (Cont.)</h1>
<p><strong>Nunjucks</strong> (web: <a href="https://mozilla.github.io/nunjucks"><code>mozilla.github.io/nunjucks</code></a>) - Rich & powerful
template language with block inheritance, autoescaping, macros, asynchronous control, and much more.
(Inspired by Jinja2 - a python template language inspired by Django’s template language).</p>
<pre><code><!DOCTYPE html>
<html>
{% include 'partials/head.html' %}
<body>
{% include 'partials/header.html' %}
<div class="main">
{% block content %}
{{ contents | safe }}
{% endblock %}
</div>
{% include 'partials/footer.html' %}
</body>
</html>
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-nunjucks/blob/master/layouts/default.html"><code>staystatic/metalsmith-nunjucks/layouts/default.html</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---html-templates---handlebars-or-nunjucks-cont-1">Metalsmith - HTML Templates - Handlebars or Nunjucks? (Cont.)</h1>
<p>Metalsmith uses Consolidate.js (github: <a href="https://github.com/tj/consolidate.js">tj/consolidate.js</a>) -
a template engine consolidation library for Node.js.
More template engines include:</p>
<ul>
<li>Eco (Embedded CoffeeScript)</li>
<li>EJS (Embedded JavaScript)</li>
<li>Jade</li>
<li>Liquid</li>
<li>Mustache</li>
<li>And many more</li>
</ul>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---pages-n-posts-with-front-matter">Metalsmith - Pages n Posts with Front Matter</h1>
<p>YAML + Markdown</p>
<pre><code>---
layout: post
title: beer.db - New Repo /maps - Free Interactive Beer Maps w/ Brewery Listings
---
The beer.db project - offering free public domain beer, brewery
and brewpubs data - added a new repo, that is, `/maps`
for hosting 'full-screen' interactive beer maps with brewery listings.
See an example [beer map for Austria](http://openbeer.github.io/maps/at)
(~200 breweries n brewpubs) live or
[check the source](https://github.com/openbeer/maps) using the mapbox.js mapping library.
...
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-nunjucks/blob/master/src/posts/new-repo-maps.md"><code>staystatic/metalsmith-nunjucks/src/posts/new-repo-maps.md</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---datafiles">Metalsmith - Datafiles</h1>
<p>Links ‘n’ Bookmarks in JSON</p>
<pre><code>[
{ "title": "football.db - Open Football Data",
"url": "https://github.com/openfootball" },
{ "title": "beer.db - Open Beer, Brewery 'n' Brewpub Data",
"url": "https://github.com/openbeer" },
{ "title": "world.db - Open World Data",
"url": "https://github.com/openmundi" }
]
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-nunjucks/blob/master/src/data/links.json"><code>staystatic/metalsmith-nunjucks/src/data/links.json</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---html-templates---loops---handlebars-or-nunjucks">Metalsmith - HTML Templates - Loops - Handlebars or Nunjucks?</h1>
<p><strong>Handlebars</strong></p>
<pre><code><div>
<b>Links 'n' Bookmarks</b>
<ul>
{{#each links}}
<li><a href="{{ url }}">{{ title }}</a></li>
{{/each}}
</ul>
</div>
</code></pre>
<pre><code><div>
<b>News 'n' Updates</b>
<ul>
{{#each posts}}
<li><a href="{{ urlxx }}">{{ title }}</a></li>
{{/each}}
</ul>
</div>
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-handlebars/blob/master/src/index.html"><code>staystatic/metalsmith-handlebars/src/index.html</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---html-templates---loops---handlebars-or-nunjucks-cont">Metalsmith - HTML Templates - Loops - Handlebars or Nunjucks? (Cont.)</h1>
<p><strong>Nunjucks</strong></p>
<pre><code><div>
<b>Links 'n' Bookmarks</b>
<ul>
{% for link in links %}
<li><a href="{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
</code></pre>
<pre><code><div>
<b>News 'n' Updates</b>
<ul>
{% for post in posts %}
<li><a href="{{ post.urlxx }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-nunjucks/blob/master/src/index.html"><code>staystatic/metalsmith-nunjucks/src/index.html</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---all-together-now---buildjs">Metalsmith - All Together Now - build.js</h1>
<pre><code>var Metalsmith = require('metalsmith');
var markdown = require('metalsmith-markdown');
var layouts = require('metalsmith-layouts');
var inplace = require('metalsmith-in-place');
var metadata = require('metalsmith-metadata');
var collections = require('metalsmith-collections');
var permalinks = require('metalsmith-permalinks');
var nunjucks = require('nunjucks');
// Note: Need to add configuration to nunjucks that metalsmith cannot
nunjucks
.configure( 'layouts', {watch: false, noCache: true});
metalsmith = Metalsmith(__dirname)
.use(metadata({
site: { title: "Metalsmith (+Nunjucks) Stay Static Site Sample",
base_url": "http://staystatic.github.io/sites/metalsmith-nunjucks/" },
links: 'data/links.json'
}))
.use(collections({
posts: {
pattern: 'posts/**/*.md',
sortBy: 'date',
reverse: true
}}))
.use(markdown())
.use(inplace({
engine: 'nunjucks',
pattern: '**/*.html'
}))
.use(layouts({
engine: 'nunjucks',
pattern: '**/*.html',
directory: 'layouts'
}))
.build(function(err){
if (err) throw err;
});
</code></pre>
<p>(Source: <a href="https://github.com/staystatic/metalsmith-nunjucks/blob/master/build.js"><code>staystatic/metalsmith-nunjucks/build.js</code></a>)</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="real-world-showcase----nodejs-project-site">Real World Showcase - Node.js Project Site</h1>
<p><img src="i/showcase-nodejs.png" alt="" /></p>
<p>See <a href="https://nodejs.org"><code>nodejs.org</code></a>
<a href="https://github.com/nodejs/nodejs.org">(Source)</a> »</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="real-world-showcase----nodejs-project-site-cont">Real World Showcase - Node.js Project Site (Cont.)</h1>
<p>Source - <a href="https://github.com/nodejs/nodejs.org/blob/master/build.js"><code>build.js</code></a>:</p>
<pre><code>const Metalsmith = require('metalsmith')
const collections = require('metalsmith-collections')
const feed = require('metalsmith-feed')
const layouts = require('metalsmith-layouts')
const markdown = require('metalsmith-markdown')
const prism = require('metalsmith-prism')
const stylus = require('metalsmith-stylus')
const permalinks = require('metalsmith-permalinks')
const pagination = require('metalsmith-yearly-pagination')
...
const metalsmith = Metalsmith(__dirname)
metalsmith
// Sets global metadata imported from the locale's respective site.json.
.metadata({
site: require(siteJSON),
project: source.project,
i18n: i18nJSON(locale)
})
// Sets the build source as the locale folder.
.source(path.join(__dirname, 'locale', locale))
// Defines the blog post/guide collections used to internally group them for
// easier future handling and feed generation.
.use(collections({
blog: {
pattern: 'blog/**/*.md',
sortBy: 'date',
reverse: true,
refer: false
},
blogAnnounce: {
pattern: 'blog/announcements/*.md',
sortBy: 'date',
reverse: true,
refer: false
},
blogReleases: {
pattern: 'blog/release/*.md',
sortBy: 'date',
reverse: true,
refer: false
},
blogVulnerability: {
pattern: 'blog/vulnerability/*.md',
sortBy: 'date',
reverse: true,
refer: false
},
lastWeekly: {
pattern: 'blog/weekly-updates/*.md',
sortBy: 'date',
reverse: true,
refer: false,
limit: 1
},
tscMinutes: {
pattern: 'foundation/tsc/minutes/*.md',
sortBy: 'date',
reverse: true,
refer: false
},
knowledgeBase: {
pattern: 'knowledge/**/*.md',
refer: false
},
guides: {
pattern: 'docs/guides/!(index).md',
refer: false
}
}))
.use(pagination({
path: 'blog/year',
iteratee: (post, idx) => ({
post,
displaySummary: idx < 10
})
}))
.use(markdown(markedOptions))
.use(githubLinks({ locale: locale }))
.use(prism())
// Deletes Stylus partials since they'll be included in the main CSS file
// anyways.
.use(filterStylusPartials())
.use(stylus({
compress: true,
paths: [path.join(__dirname, 'layouts', 'css')],
use: [autoprefixer()]
}))
// Set pretty permalinks, we don't want .html suffixes everywhere.
.use(permalinks({
relative: false
}))
// Generates the feed XML files from their respective collections which were
// defined earlier on.
.use(feed({
collection: 'blog',
destination: 'feed/blog.xml',
title: 'Node.js Blog'
}))
.use(feed({
collection: 'blogAnnounce',
destination: 'feed/announce.xml',
title: 'Node.js Announcements'
}))
.use(feed({
collection: 'blogReleases',
destination: 'feed/releases.xml',
title: 'Node.js Blog: Releases'
}))
.use(feed({
collection: 'blogVulnerability',
destination: 'feed/vulnerability.xml',
title: 'Node.js Blog: Vulnerability Reports'
}))
.use(feed({
collection: 'tscMinutes',
destination: 'feed/tsc-minutes.xml',
title: 'Node.js Technical Steering Committee meetings'
}))
// Finally, this compiles the rest of the layouts present in ./layouts.
// They're language-agnostic, but have to be regenerated for every locale
// anyways.
.use(layouts({
engine: 'handlebars',
pattern: '**/*.html',
partials: 'layouts/partials',
helpers: {
copyright: require('./scripts/helpers/copyright-year.js'),
equals: require('./scripts/helpers/equals.js'),
startswith: require('./scripts/helpers/startswith.js'),
i18n: require('./scripts/helpers/i18n.js'),
changeloglink: require('./scripts/helpers/changeloglink.js'),
strftime: require('./scripts/helpers/strftime.js'),
apidocslink: require('./scripts/helpers/apidocslink.js'),
majorapidocslink: require('./scripts/helpers/majorapidocslink.js'),
summary: require('./scripts/helpers/summary.js')
}
}))
// Pipes the generated files into their respective subdirectory in the build
// directory.
.destination(path.join(__dirname, 'build', locale))
// This actually executes the build and stops the internal timer after
// completion.
metalsmith.build(function (err) {
if (err) { throw err }
console.timeEnd('[metalsmith] build/' + locale + ' finished')
})
}
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---more-plugins">Metalsmith - More Plugins</h1>
<p><strong>metadata</strong> - Load metadata from JSON or YAML files.</p>
<p><strong>inPlace</strong> - In-place templating, render templates in your source files.</p>
<p><strong>markdown</strong> - Convert Markdown files to HTML.</p>
<p><strong>layouts</strong> - Apply layouts to your source files.</p>
<hr />
<p><strong>drafts</strong> - Hide any files marked as drafts.</p>
<p><strong>permalinks</strong> - Apply custom permalinks and rename files to be nested properly for
static sites, basically converting about.html into about/index.html.</p>
<p><strong>collections</strong> - Group files together, like blog posts.
That way you can loop over them to generate an index, or add ‘next’ and ‘previous’
links between them.</p>
<p><strong>feed</strong> - Generate an RSS feed for a collection.</p>
<p><strong>excerpts</strong> - Extract the first paragraph from the beginning of any HTML file.</p>
<p>And Many More</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---write-your-own-plugins">Metalsmith - Write Your Own Plugins</h1>
<p><strong>Inline Plugin</strong></p>
<pre><code>.use( function(files, metalsmith, done) {
console.log(files);
console.log(metalsmith);
done();
})
</code></pre>
<p>Will dump all files (w/ meta data and content block)
and the metalsmith hash (w/ options, site data, collections, etc.)
to the console. Great help for understanding how metalsmith works and for
debugging - when it doesn’t work ;-).</p>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="metalsmith---write-your-own-plugins-1">Metalsmith - Write Your Own Plugins</h1>
<p><strong>“Standard” Plugin</strong></p>
<pre><code>var parseDate = function (files, metalsmith, done) {
var moment = require("moment");
for(var file in files) {
if(files[file].date) {
var date = new Date(files[file].date);
files[file].year = moment(date).format("YYYY");
files[file].month = moment(date).format("MM");
files[file].day = moment(date).format("DD");
}
}
done();
};
</code></pre>
<p>Usage:</p>
<pre><code>.use(parseDate)
</code></pre>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="links-links-links---static-site-news-events-n-more">Links, Links, Links - Static Site News, Events ‘n’ More</h1>
<p><strong>Stay Static Sample Sites (Showcase)</strong></p>
<ul>
<li><a href="http://staystatic.github.io">Stay Static</a>
<ul>
<li><a href="https://github.com/staystatic/metalsmith-handlebars"><code>/metalsmith-handlebars</code></a></li>
<li><a href="https://github.com/staystatic/metalsmith-nunjucks"><code>/metalsmith-nunjucks</code></a></li>
</ul>
</li>
</ul>
<p><strong>Metalsmith Articles</strong></p>
<ul>
<li><a href="https://github.com/metalsmith/awesome-metalsmith">Awesome Metalsmith</a> - articles, tutorials, sample sites and more about Metalsmith</li>
</ul>
<p><strong>News</strong></p>
<ul>
<li><a href="https://twitter.com/statictimes">Static Times News @ Twitter</a></li>
<li><a href="http://www.thenewdynamic.org">{static is} The New Dynamic</a>
<ul>
<li><a href="http://www.thenewdynamic.org/tool/metalsmith">Metalsmith</a></li>
</ul>
</li>
</ul>
<p><strong>Events</strong></p>
<ul>
<li><a href="http://viennahtml.github.io">Vienna.html Meetup</a> - Next Meetup April 2016 @ sektor5 - Vienna, Austria</li>
<li><a href="http://www.staticwebtech.com">Static Web Tech Meetup</a> - @ San Francisco, California</li>
<li><a href="http://www.meetup.com/The-New-Dynamic">{static is} The New Dynamic Meetup</a> - @ New York City, New York</li>
</ul>
</div>
<div class='slide '>
<!-- _S9SLIDE_ -->
<h1 id="bonus-many-more-static-site-builder--generators">Bonus: Many More Static Site Builder / Generators</h1>
<p><strong>Q</strong>: What about Ruby, Python, PHP, Hugo, Haskell, Rust, C, Swift, Lisp, Bash, <em>[Your Language Here]</em>, etc.?</p>
<p><strong>A</strong>: See the Static Site Builder / Generator Directories:</p>
<ul>
<li><a href="http://www.staticgen.com"><code>staticgen.com</code></a></li>
<li><a href="https://staticsitegenerators.net"><code>staticsitegenerators.net</code></a></li>
<li><a href="https://www.static-revival.com/static-site-generators/">Static Site Generators @ <code>static-revival.com</code></a></li>
</ul>
<!-- === end markdown block === -->
</div>
</div> <!-- presentation -->
</body>
</html>