In this repo, you can find a number of examples for the Hakyll static site compiler.
More or less in order of increasing complexity:
brochure/ A very simple brochure site
morepages/ Slightly more complicated brochure site with partials
simpleblog/ A simple blog
feedblog/ Adds an RSS feed to the simple blog
tagblog/ Adds tags to the simple blog
references/ Explains how to use a bibliography
timedblog/ Adds conditional page generation and timed releases
to the simple blog.
multilingual/ A simple implementation of a multilingual website