mirror of
https://github.com/srid/rib.git
synced 2024-11-22 11:23:02 +03:00
guide: use slug-based URLs
This commit is contained in:
parent
1066e2064b
commit
8f272c3741
@ -1,8 +0,0 @@
|
||||
---
|
||||
title: Guide
|
||||
---
|
||||
|
||||
Assuming you have read the [[2014301]], use this portal to
|
||||
understand how to do certain things in Rib.
|
||||
|
||||
[[[z:zettels?tag=guide]]]
|
6
guide/guide.md
Normal file
6
guide/guide.md
Normal file
@ -0,0 +1,6 @@
|
||||
# Guide
|
||||
|
||||
Assuming you have read the [[tutorial]], use this portal to
|
||||
understand how to do certain things in Rib.
|
||||
|
||||
[[[z:zettels?tag=guide]]]
|
@ -19,7 +19,7 @@ reinventing their capabilities. Time spent using rib is time spent learning them
|
||||
- Remain as simple as possible to use
|
||||
- Reproducible and a delightful workflow enabled by Nix, ghcid and fsnotify.
|
||||
|
||||
See [[[2015601]]] to get a feel for what your code may look like.
|
||||
See [[[preview]]] to get a feel for what your code may look like.
|
||||
|
||||
|
||||
## Getting Started
|
||||
@ -30,7 +30,7 @@ repository, [**rib-sample**](https://github.com/srid/rib-sample), from Github.
|
||||
|
||||
## Next
|
||||
|
||||
* [[[2014301]]]
|
||||
* [[[2015602]]]
|
||||
* [[[2014302]]]
|
||||
* [[[tutorial]]]
|
||||
* [[[guide]]]
|
||||
* [[[examples]]]
|
||||
|
||||
|
@ -1,11 +1,13 @@
|
||||
{ siteTitle =
|
||||
"Rib"
|
||||
, siteBaseUrl =
|
||||
Some "https://rib.srid.ca"
|
||||
, theme =
|
||||
"green"
|
||||
, editUrl =
|
||||
Some "https://github.com/srid/rib/edit/master/guide/"
|
||||
, minVersion =
|
||||
"0.2"
|
||||
{ siteTitle = "Rib"
|
||||
, siteBaseUrl = Some "https://rib.srid.ca"
|
||||
, theme = "green"
|
||||
, editUrl = Some "https://github.com/srid/rib/edit/master/guide/"
|
||||
, aliases =
|
||||
[ "2014302:examples"
|
||||
, "2015602:guide"
|
||||
, "2014301:tutorial"
|
||||
, "2015604:typed-routes"
|
||||
, "2015603:syntax-highlighting"
|
||||
, "2015601:preview"
|
||||
]
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ content/ default.nix Main.hs README.md rib-sample.cabal
|
||||
The three key items here are:
|
||||
|
||||
1. `Main.hs`: Haskell source containing the DSL of the HTML/CSS of your site.
|
||||
See [[2015601]].
|
||||
See [[preview]].
|
||||
2. `content/`: The source content (eg: Markdown sources and static files)
|
||||
3. `dest/`: The target directory, excluded from the git repository, will contain
|
||||
_generated_ content (i.e., the HTML files, and copied over static content)
|
@ -7,8 +7,8 @@ tags:
|
||||
Rib includes an optional route system based on
|
||||
[GADT](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/gadt.html)s than
|
||||
can be used to define safe and structured routes for your site. The sample repo
|
||||
used in [[2014301]] already uses routes, and you can see the entire code in
|
||||
[[2015601]] to see all of this would fit together in a static site
|
||||
used in [[tutorial]] already uses routes, and you can see the entire code in
|
||||
[[preview]] to see all of this would fit together in a static site
|
||||
generator.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user