docs(example): test for undefined nav in nav()

oops.
Merge pull request #7 from caitp/fixup

docs(example): test for undefined nav in nav()