mirror of
https://github.com/srid/rib.git
synced 2024-11-27 01:12:09 +03:00
Fix README example
This commit is contained in:
parent
e9a326fd79
commit
36670e03a4
@ -84,8 +84,8 @@ main = Rib.run [reldir|a|] [reldir|b|] generateSite
|
||||
srcs <-
|
||||
Rib.buildHtmlMulti [[relfile|*.md|]] M.parse $
|
||||
renderPage . Page_Single
|
||||
-- Build an index.html linking to the aforementioned files.
|
||||
Rib.buildHtml [relfile|index.html|] $
|
||||
-- Write an index.html linking to the aforementioned files.
|
||||
Rib.writeHtml [relfile|index.html|] $
|
||||
renderPage (Page_Index srcs)
|
||||
-- Define your site HTML here
|
||||
renderPage :: Page -> Html ()
|
||||
|
Loading…
Reference in New Issue
Block a user