elm-pages-v3-beta/examples/docs/content/index.emu

71 lines
2.5 KiB
Plaintext
Raw Normal View History

2019-08-03 07:19:02 +03:00
|> Page
2019-08-05 17:30:12 +03:00
title = elm-pages - a statically typed site generator
2019-08-03 07:19:02 +03:00
2019-08-04 20:33:05 +03:00
|> Banner
2019-08-05 05:26:04 +03:00
A *statically typed* site generator
2019-08-04 20:33:05 +03:00
|> 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
2019-08-03 07:19:02 +03:00
|> Values
2019-08-05 03:50:55 +03:00
|> Value
title = No magic, just types
body =
2019-08-05 05:36:21 +03:00
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.
2019-08-05 03:50:55 +03:00
|> Value
title = Extensible through pure elm
body =
Behavior is shared through packages exposing simple helper functions to help you build up your data.
2019-08-03 07:19:02 +03:00
|> 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.
2019-08-05 03:50:55 +03:00
|> Values
2019-08-05 05:59:55 +03:00
|> 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.
2019-08-03 07:19:02 +03:00
|> 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.