Static Site Generators

Elmstatic – Elm-to-HTML static site generator

Elmstatic allows you to write the HTML layouts and the styles for the pages of your site in Elm.

It’s fairly unopinionated: you can generate whatever HTML you want, however you want — all you need to do is define a suitable main function in each layout.

This is free and open source software.

Key Features

  • Pages are generated from Elm code (you can use elm-ui, html or any other package that generates Html msg values).
  • CSS is generated from elm-css stylesheets in Elm code (but you can use plain old stylesheets if you like).
  • Fully customisable layouts for posts and lists of posts.
  • Optional subsections with their own posts (eg /postgres and /elm on this site).
  • Posts can be written in Markdown or elm-markup (but you can actually treat content as any format if you like).
  • Posts can have multiple tags.
  • Future-dated posts are considered to be drafts and excluded from the build by default (or included with a flag).
  • A page with a list of posts is generated for each tag.
  • RSS is generated for the posts, including a feed with all posts and a feed per subsection
    Code blocks have syntax highlighting via Highlight.js (but you can set up something else).
  • Watch mode where Elmstatic watches for file changes and rebuilds the site (live reload can be achieved by combining with browser-sync).

Website: korban.net/elm/elmstatic
Support: GitHub Code Repository
Developer: Alex Korban
License: GNU General Public License v3.0

elm-pages is written in Elm.


Related Software

Elm Static Site Generators
elm-pagesFramework for building an Elm single-page app with pre-rendered HTML pages
ElmstaticElm-to-HTML static site generator
elm-starterElm-based bootstrapper for Elm applications
siteelmStatic site generator which makes it easy to mix dynamic Elm components

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments