added missing variable to postEvent

Since top menu construction change, some themes can't work anymore. This PR adds missing twig variable to postEvent