Skip to content

eeue56/elm-static-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-static-site

Proof of concept static site generator from Elm files.

setup

npm install
elm-package install

To see an example, run

python3 crawl.py

This will take the Elm files from examples, and convert them to static views in the output folder.

How it works

Goes through folder, find elm files. If you want that file to be turned into a compiled output, then you need to have view = defining the output that you want it to have.

Either way, right now, if you're using the example folder, you need a view : Html. This is your entry point. This Html will be rendered as actual html into a file with the same name, but lowercase. E.g Index.elm -> index.html, Blog.Index.elm -> blog/index.html.

About

Static site generator using Elm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published