Live data from Hacker News

Static Site Generators

staticsitegenerators.net

121–123 of 123 posts

Re: Static Site Generators

#121

I didn't see Hakyll [1] on the list. It is a minimal static site generator written in Haskell. I have just set it up for my first personal site [2]. It is my first experience using a static site generator, and so far I can highly recommend giving it a go. [1] http://jaspervdj.be/hakyll/ [2] http://willsewell.name

When I was reviewing existing static site generators I couldn't make Hakyll install - but this was back under Squeeze (Debian). https://github.com/skx/static-site-generators

Did you try and install the package "haskell-platform"?

That's probably the easiest way to get Haskell up and running. Then it's a simple matter of using cable to install other libraries, including Hakyll.

Re: Static Site Generators

#122

Earlier quoted context omitted.

When I was reviewing existing static site generators I couldn't make Hakyll install - but this was back under Squeeze (Debian). https://github.com/skx/static-site-generators

Did you try and install the package "haskell-platform"? That's probably the easiest way to get Haskell up and running. Then it's a simple matter of using cable to install other libraries, including Hakyll.

My memory is hazy, so I cannot say for sure. The fact that I didn't document that as a requirement suggests that either I didn't know it was, or that I did, but it didn't help.

Either way I will revisit this now there is a new Debian stable, and I can install the package natively without using cabal.

Re: Static Site Generators

#123
post #11

I'm really pleased with FrozenFlask. It lets you develop a normal site with python and flask with all of the flexibility: routing, databases, modules, etc. that you'd expect while still outputing a static website. I made my current blog site with it. https://pythonhosted.org/Frozen-Flask/ https://github.com/bendoan/bendoan.me

Did you need to write any URL generator, or was it able to identify all URLs by itself?

You need to write simple flask routes for the different pages, but nothing complicated. Frozen Flask will automatically find all of your pages.
Post reply on HN