Re:Zola: A fast static site generator in a single binary
by minitoar on Friday March 05, 2021 @10:59AM
(#26358265)
Perhaps we need a meta ssg. An ssgg if you will. Perhaps a dsl for specifying ssgs.
[ Parent
| on HN ]
Re:Zola: A fast static site generator in a single binary
by threatofrain on Friday March 05, 2021 @11:08AM
(#26358370)
I guess Racket’s proposal of language oriented programming isn’t so kooky after all.
Re:Zola: A fast static site generator in a single binary
by threepio on Friday March 05, 2021 @01:00PM
(#26359829)
Pollen, written in Racket, is arguably a "dsl for specifying ssgs"
Re:Zola: A fast static site generator in a single binary
by mdtusz on Friday March 05, 2021 @01:16PM
(#26359988)
Pollen seems so incredibly cool and powerful, but every time I have tried to play around with it, I get distracted by small quirks and areas that I wish were documented more clearly, or in a more organized format.
My daydream is to make a _good_ technical documentation system with it that is usable by the everyman, but it's still just a bit too much of a stretch. Markdown + pandoc + LaTeX templates get close, but LaTeX templating is a nightmare, and markdown is far too limiting and lacks expressivity (without ad-hoc DSL's slapped on top).
If anyone has a good pollen tutorial or example repo, I'd _love_ to know of it.
Re:Zola: A fast static site generator in a single binary
by threepio on Friday March 05, 2021 @01:24PM
(#26360080)
This is a sample Pollen project, annotated by the author using Racket's literate-programming dialect.
Re:Zola: A fast static site generator in a single binary
by pvorb on Friday March 05, 2021 @05:39PM
(#26363149)
Don't mess around with Markdown and LaTeX for documentation. AsciiDoc is what you want.
Re:Zola: A fast static site generator in a single binary
by rodolphoarruda on Friday March 05, 2021 @07:55PM
(#26364228)
Your post changed my life. Thanks for sharing this about AsciiDoc. It's such a nice tool.
Re:Zola: A fast static site generator in a single binary
by mynegation on Friday March 05, 2021 @11:20AM
(#26358563)
I believe Metalsmith [1] is trying that approach
Re:Zola: A fast static site generator in a single binary
by pinjasaur on Friday March 05, 2021 @12:50PM
(#26359676)
Metalsmith is pretty slick. I like how _everything_ is a just a plugin/middleware in essentially a pipeline. I've used it to template/scaffold [1] out projects before and it worked reasonably well.
Re:Zola: A fast static site generator in a single binary
by yoz-y on Friday March 05, 2021 @03:09PM
(#26361418)
As long as they all use the same content format (like markdown + preamble) it’s relatively easy to move from one to another. Transferring themes is a pain though.
Re:Zola: A fast static site generator in a single binary
by pvorb on Friday March 05, 2021 @05:37PM
(#26363133)
I think we are doing pretty well with increasing the number of SSGs even without a meta SSGG. But I guess there are still more blogs around than SSGs, so there's still potential for incrementing that counter.
Re:Zola: A fast static site generator in a single binary
by StavrosK on Friday March 05, 2021 @03:07PM
(#26361404)
SSGG*
Re:Zola: A fast static site generator in a single binary
by irrational on Friday March 05, 2021 @04:21PM
(#26362284)
Are we all thinking of the same xkcd comic at this point?