@@ -49,6 +49,13 @@ createCustomPage = CustomPage
4949-- item in the list is created by applying the given template to every
5050-- renderable. You can also specify additional context to be included in the
5151-- @CustomPage@.
52+--
53+-- > let customPage = createListingWith
54+-- > "index.html" -- Destination of the page.
55+-- > "templates/postitem.html" -- Path to template to
56+-- > -- render the items with.
57+-- > posts -- ^ Renderables to create the list with.
58+-- > [("title", "Home")] -- ^ Additional context
5259createListing :: (Renderable a)
5360 => String -- ^ Destination of the page.
5461 -> FilePath -- ^ Template to render all items with.