Added renderIfEmpty flag to definition list

Signed-off-by: Tom Wright <tom@inflatablecookie.com>