mirror of
https://github.com/srid/ema.git
synced 2024-11-25 20:12:20 +03:00
Fix broken links
This commit is contained in:
parent
267c12b533
commit
bb59a31e27
@ -33,7 +33,7 @@ render model route = Blaze.renderHtml $
|
||||
|
||||
Note that Ema provides a `routeUrl` helper function that serializes your route to the final URL (here, `/about`) for linking to.
|
||||
|
||||
Spend a few moments to recognize how this is *much simpler* to write than dealing with HTML template files spread across the disk as is the case with traditional static site generators. Of course when using Ema nothing prevents you from choosing to use traditional HTML templates (see [working with files](guide/filesystem.md) for tips on that). But if you choose instead to go the DSL route, [Haskell's type-safety](/concepts/haskell-safety.md) now applies to your HTML as well. On top of it, Ema's [hot reload](/concepts/hot-reload.md) will instantly update the dev server's browser view whenever you change your HTML (or any of the Haskell source code).
|
||||
Spend a few moments to recognize how this is *much simpler* to write than dealing with HTML template files spread across the disk as is the case with traditional static site generators. Of course when using Ema nothing prevents you from choosing to use traditional HTML templates (see [working with files](guide/filesystem.md) for tips on that). But if you choose instead to go the DSL route, [Haskell's type-safety](concepts/haskell-safety.md) now applies to your HTML as well. On top of it, Ema's [hot reload](concepts/hot-reload.md) will instantly update the dev server's browser view whenever you change your HTML (or any of the Haskell source code).
|
||||
|
||||
|
||||
{.last}
|
||||
|
@ -35,7 +35,7 @@ class Ema MyModel Route where
|
||||
|
||||
That is all there is to it.
|
||||
|
||||
You can use whatever complex route types to model your website's routes, as long as those types are isomorphic to the [slug](/concepts/slug.md) list.
|
||||
You can use whatever complex route types to model your website's routes, as long as those types are isomorphic to the [slug](concepts/slug.md) list.
|
||||
|
||||
## Advanced example
|
||||
|
||||
|
@ -10,4 +10,4 @@ For now, see the second example in the Git repo. Or the third example, which is
|
||||
- Generate static files
|
||||
|
||||
{.last}
|
||||
[Next]{.next}, checkout the [Guide](../guide.md) series for information on specific topics.
|
||||
[Next]{.next}, checkout the [Guide](guide.md) series for information on specific topics.
|
Loading…
Reference in New Issue
Block a user