1
1
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:
Sridhar Ratnakumar 2019-12-31 21:39:34 -05:00
parent e9a326fd79
commit 36670e03a4

View File

@ -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 ()