fix some subnav rewrite thingies that seem to have been forgotten
for jinja use StrictUndefined

e.g. throw error when undefined vars are being used