elm-pages-v3-beta/examples/docs/content/index.emu
2019-08-09 16:17:14 -07:00

70 lines
2.5 KiB
Plaintext

|> Page
title = elm-pages - a statically typed site generator
|> Banner
A *statically typed* site generator
|> Boxes
|> Box
body =
|> H2
Pure Elm Configuration
Layouts, styles, even a full-fledged elm application.
|> H2
Type-Safe Content
Configuration, errors for broken links
|> Box
body =
|> H2
Pure Elm Configuration
Layouts, styles, even a full-fledged elm application.
|> H2
Type-Safe Content
Configuration, errors for broken links
|> Box
body =
|> H2
Pure Elm Configuration
Layouts, styles, even a full-fledged elm application.
|> H2
Type-Safe Content
Configuration, errors for broken links
|> Values
|> Value
title = No magic, just types
body =
The magic is in how the pieces snap together. The basic platform provided is simple, letting you compose exactly what you need with types to support you.
|> Value
title = Extensible through pure elm
body =
Behavior is shared through packages exposing simple helper functions to help you build up your data.
|> Value
title = If it compiles, it works
body =
`elm-pages`{code} just makes more of the things you do in your static site feel like elm. Did you misspell the name of an image asset or a link to a blog post? `elm-pages`{code} will give you a friendly error message and some helpful suggestions.
|> Value
title = An extended elm platform
body =
`elm-pages`{code} is just elm, but with a broader set of primitives for declaring meta tags to improve SEO, or generate RSS feeds and other files based on your static content.
|> Value
title = Blazing fast
body =
All you have to do is create your content and choose how to present it. Optimized images, pre-rendered pages, and a snappy lightweight single-page app all come for free.
|> Value
title = Simple
body =
`elm-pages`{code} gives you the smallest set of core concepts possible, and a type system to make sure all the pieces fit together just right. The rest is up to you. Rather than remember a lot of magic and special cases, you can just rely on your elm types to build what you need with a set of simple primitives.