1. 26
  1. 5

    Oof visiting https://ema.srid.ca/ in firefox with noscript does not inspire confidence.

    I’ve looked at a bunch of static site generators and I’m coming around to the point of view that it is a rite of passage to write your own. That way you know the code and can extend it in whichever way you please.

    1. 3

      Oof visiting https://ema.srid.ca/ in firefox with noscript does not inspire confidence.

      This is not Ema’s fault, which doesn’t dictate how you render your HTML or CSS; your site can be as simple as a single index.html containing nothing but <b>Hello</b>.

      It is just that the website’s code lazily (out of convenience) uses the twind JS shim for applying Tailwind styles by using the helper. I’d like to create a new project that creates type-safe Haskell wrapper for Tailwind, as well as acts as a “compiler” that produces the final CSS asset based on the usage in generated HTML, similar to how windicss’s compiler does it.

      1. 1

        My site (https://samhh.com) is currently written in Gatsby, which made sense at the time as I’m most familiar with TypeScript and React. I’ve had a look at rewriting it in Hugo, and it mostly works now locally, but there are almost as many gotchas and questionable design decisions which is disappointing.

      2. 4

        This, linked from the article looks particularly appealing to me, org-mode sites: https://github.com/srid/orgself

        1. 3

          Good work Srid! Nice to see you’re still writing Haskell and nice to see your static site projects progressing :)