mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-02 00:18:19 +03:00
65 lines
2.1 KiB
Plaintext
65 lines
2.1 KiB
Plaintext
|> Page
|
|
title = Home
|
|
|
|
|
|
|> 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
|
|
|
|
|> 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.
|
|
|
|
|> Values
|
|
|> 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.
|