Add a configuration section to README.md

Add a configuration section to the README. Documents the `build` option
and gives a short example oh how to use it.

Also, amend the `listing` section with a piece of code that behaves more
consistently with the behaviour of draft building. As drafts will never be
available in environments where they should not be shown, just checking
for their presence is enough.